mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-23 07:56:57 +00:00
Merge pull request #2871 from nextcloud/enh/2506/postgresql
make postgresql container read-only
This commit is contained in:
commit
581456b450
2 changed files with 5 additions and 0 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue