mybuddy/docker-compose.yml

26 lines
389 B
YAML
Raw Normal View History

---
version: "3.7"
2017-11-24 14:09:43 +00:00
services:
db:
image: postgres
environment:
- PGDATA=/db-data
volumes:
- db:/db-data:rw
app:
image: cdubzzz/babybuddy
env_file:
- docker.env
2017-11-24 14:09:43 +00:00
command: gunicorn -c /app/gunicorn.py babybuddy.wsgi
ports:
- "8000:8000"
depends_on:
- db
volumes:
2019-10-04 09:25:36 +00:00
- app_data:/app:rw
volumes:
2019-10-04 09:25:36 +00:00
app_data: {}
db: {}