Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db:
- image: mdillon/postgis:9.6
- ports:
- - "5432:5432"
- environment:
- POSTGRES_PASSWORD: temppasswd
- POSTGRES_USER: myuser
- POSTGRES_DB: mydb
- web:
- autoredeploy: true
- image: myapp/myapp_api:latest
- ports:
- - "80:8000"
- links:
- - db
- environment:
- DATABASE_NAME: mydb
- DATABASE_USER: myuser
- DATABASE_PASSWORD: temppasswd
- cron:
- autoredeploy: true
- image: myapp/myapp_api:latest
- links:
- - db
- command: cron -f -L 15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement