mybuddy/docker-compose.yml

24 lines
353 B
YAML

version: "2"
services:
db:
image: postgres
environment:
- PGDATA=/db-data
volumes:
- db:/db-data
app:
env_file: docker.env
build: .
command: gunicorn -c /app/gunicorn.py babybuddy.wsgi
ports:
- "8000:8000"
depends_on:
- db
volumes:
- baby_data:/app
volumes:
db:
baby_data: