Custom PostgreSQL conf with minimal settings

This commit is contained in:
Grzegorz Adam Kowalski
2019-03-15 19:20:59 +01:00
parent ad366e7c87
commit ab0f62d08d
2 changed files with 12 additions and 1 deletions

View File

@@ -134,7 +134,10 @@ RUN ln -sf /proc/1/fd/1 /var/log/apache2/access.log \
&& ln -sf /proc/1/fd/2 /var/log/apache2/error.log
# Configure PosgtreSQL
RUN chown -R postgres:postgres /var/lib/postgresql
COPY postgresql.custom.conf /etc/postgresql/10/main/
RUN chown -R postgres:postgres /var/lib/postgresql \
&& chown postgres:postgres /etc/postgresql/10/main/postgresql.custom.conf \
&& echo "\ninclude 'postgresql.custom.conf'" >> /etc/postgresql/10/main/postgresql.conf
# Start running
COPY run.sh /