Guest User

Untitled

a guest
Feb 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. # Use postgres/example user/password credentials
  2. version: '3.1'
  3.  
  4. services:
  5.  
  6. db:
  7. image: postgres:9.6
  8. environment:
  9. POSTGRES_PASSWORD: docker
  10. POSTGRES_USER: docker
  11. POSTGRES_DB: db
  12. restart: always
  13. ports:
  14. - 5432:5432
  15. command: postgres -c config_file=/etc/postgresql/postgresql.conf
  16. volumes:
  17. - ./my-postgres.conf:/etc/postgresql/postgresql.conf
Add Comment
Please, Sign In to add comment