Created
December 20, 2018 17:40
-
-
Save eduardomp/d77b55c322b87f9a06fef39d8e5d2925 to your computer and use it in GitHub Desktop.
Dockerfile - Postgres with custom postgresql.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM postgres:9.5 | |
LABEL maintainer="Eduardo Medeiros Pereira - edu.medeirospereira@gmail.com" | |
ENTRYPOINT ["docker-entrypoint.sh"] | |
COPY postgresql.conf /etc/postgresql/postgresql.conf | |
EXPOSE 5432 | |
CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Needs to have a customized postgresql.conf file in same directory of Dockerfile.