2019-10-04 08:50:41 +00:00
|
|
|
---
|
2019-10-04 09:21:53 +00:00
|
|
|
version: "3.7"
|
2017-11-24 14:09:43 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres
|
2018-06-13 13:07:36 +00:00
|
|
|
environment:
|
2019-10-04 08:50:41 +00:00
|
|
|
- PGDATA=/db-data
|
2018-06-13 13:07:36 +00:00
|
|
|
volumes:
|
2019-10-04 09:46:02 +00:00
|
|
|
- db:/db-data:rw
|
2017-11-26 19:02:57 +00:00
|
|
|
app:
|
2019-03-17 02:37:12 +00:00
|
|
|
image: cdubzzz/babybuddy
|
2019-10-04 08:50:41 +00:00
|
|
|
env_file:
|
2019-03-17 02:37:12 +00:00
|
|
|
- docker.env
|
2017-11-24 14:09:43 +00:00
|
|
|
command: gunicorn -c /app/gunicorn.py babybuddy.wsgi
|
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
|
|
|
depends_on:
|
2018-06-13 13:07:36 +00:00
|
|
|
- db
|
2019-10-04 08:50:41 +00:00
|
|
|
volumes:
|
2019-10-04 09:46:02 +00:00
|
|
|
- app:/app:rw
|
2018-06-13 13:07:36 +00:00
|
|
|
|
|
|
|
volumes:
|
2019-10-04 09:46:02 +00:00
|
|
|
app: {}
|
|
|
|
db: {}
|