2017-11-24 14:09:43 +00:00
|
|
|
version: "2"
|
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres
|
2018-06-13 13:07:36 +00:00
|
|
|
environment:
|
|
|
|
- PGDATA=/db-data
|
|
|
|
volumes:
|
|
|
|
- db:/db-data
|
2017-11-26 19:02:57 +00:00
|
|
|
app:
|
2019-03-17 02:37:12 +00:00
|
|
|
image: cdubzzz/babybuddy
|
2019-03-16 19:13:22 +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
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db:
|