Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data_postgres:
- image: busybox
- volumes:
- - /var/lib/mysql
- data_erp:
- image: busybox
- volumes:
- - /tmp/
- erp:
- image: tomas487/erp:0.1
- volumes_from:
- - data_erp
- links:
- - postgres
- ports:
- - "8080:8080"
- environment:
- - DATABASE_HOST=127.0.0.1:5432
- - DATABASE_NAME=postgres
- postgres:
- image: postgres:10.6
- volumes_from:
- - data_postgres
- environment:
- - POSTGRES_USERNAME=postgres
- - POSTGRES_PASSWORD=postgres
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement