diff --git a/Containers/postgresql/Dockerfile b/Containers/postgresql/Dockerfile index 4e62f112..c002789d 100644 --- a/Containers/postgresql/Dockerfile +++ b/Containers/postgresql/Dockerfile @@ -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; \ diff --git a/php/containers.json b/php/containers.json index 5686ef6a..79c08fe3 100644 --- a/php/containers.json +++ b/php/containers.json @@ -96,6 +96,10 @@ ], "networks": [ "nextcloud-aio" + ], + "read_only": true, + "tmpfs": [ + "/var/run/postgresql" ] }, {