Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- postgres-data:
- image: busybox
- volumes:
- - /var/lib/postgresql/data
- container_name: postgres-datastore
- postgres:
- build: postgres
- environment:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD:
- ports:
- - "5432:5432"
- container_name: postgres-db
- volumes_from:
- - postgres-data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement