Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- app:
- build: .
- ports:
- - "8000:8000"
- volumes:
- - .:/opt/app
- links:
- - database
- depends_on:
- - database
- database:
- image: postgres
- environment:
- POSTGRES_PASSWORD: secret
- POSTGRES_USER: homestead
- POSTGRES_DB: homestead
- ports:
- - 5432
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement