mybuddy/docker-compose.yml

22 lines
335 B
YAML
Raw Normal View History

2017-11-24 14:09:43 +00:00
version: "2"
services:
db:
image: postgres
environment:
- PGDATA=/db-data
volumes:
- db:/db-data
app:
2019-03-16 19:13:22 +00:00
image: cosme/babybuddy
env_file:
- /path/to/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:
db: