Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Use postgres/example user/password credentials
- version: '3.1'
- services:
- db:
- image: postgres:9.6
- environment:
- POSTGRES_PASSWORD: docker
- POSTGRES_USER: docker
- POSTGRES_DB: db
- restart: always
- ports:
- - 5432:5432
- command: postgres -c config_file=/etc/postgresql/postgresql.conf
- volumes:
- - ./my-postgres.conf:/etc/postgresql/postgresql.conf
Add Comment
Please, Sign In to add comment