Skip to content

Commit

Permalink
modifying of postgres service environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Sep 28, 2018
1 parent dd8c8ae commit c80f7e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion demo/postgresql-full/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ services:
postgresql:
image: postgres:9.5
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_PASSWORD_FILE=/run/secrets/m_database_password.txt
- POSTGRES_USER=midpoint
- POSTGRES_INITDB_ARGS=--lc-collate=en_US.utf8 --lc-ctype=en_US.utf8
ports:
- 5432:5432
networks:
- back
secrets:
- m_database_password.txt
volumes:
- midpoint_data:/var/lib/postgresql/data

Expand Down

0 comments on commit c80f7e4

Please sign in to comment.