Merge pull request #2871 from nextcloud/enh/2506/postgresql

make postgresql container read-only
This commit is contained in:
Simon L 2023-07-13 12:13:56 +02:00 committed by GitHub
commit 581456b450
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,7 @@ RUN set -ex; \
# Fix default permissions
chown -R postgres:postgres /var/lib/postgresql; \
chown -R postgres:postgres /var/run/postgresql; \
chmod -R 777 /var/run/postgresql; \
chown -R postgres:postgres "$PGDATA"; \
\
mkdir /mnt/data; \