Skip to content
Snippets Groups Projects
Commit 4b11c99e authored by Nico Vermaas's avatar Nico Vermaas
Browse files

experimenting with postgres config

parent c341c078
No related branches found
No related tags found
No related merge requests found
Pipeline #7140 passed
...@@ -40,7 +40,7 @@ RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.4/main/pg_hba.co ...@@ -40,7 +40,7 @@ RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.4/main/pg_hba.co
RUN echo "listen_addresses='*'" >> /etc/postgresql/9.4/main/postgresql.conf RUN echo "listen_addresses='*'" >> /etc/postgresql/9.4/main/postgresql.conf
# Add VOLUMEs to allow backup of config, logs and databases # Add VOLUMEs to allow backup of config, logs and databases
#VOLUME ["/etc/postgresql", "/var/log/postgresql", "/var/lib/postgresql"] VOLUME ["/etc/postgresql", "/var/log/postgresql", "/var/lib/postgresql"]
# Set the default command to run when starting the container # Set the default command to run when starting the container
CMD ["/usr/lib/postgresql/9.4/bin/postgres", "-D", "/var/lib/postgresql/9.4/main", "-c", "config_file=/etc/postgresql/9.4/main/postgresql.conf"] CMD ["/usr/lib/postgresql/9.4/bin/postgres", "-D", "/var/lib/postgresql/9.4/main", "-c", "config_file=/etc/postgresql/9.4/main/postgresql.conf"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment