Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3"
- services:
- db:
- image: "postgres:11"
- container_name: "my_postgres"
- ports:
- - "5432:5432"
- environment:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: dbpw
- volumes:
- - my_dbdata:/var/lib/postgresql/data
- volumes:
- my_dbdata: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement