Use pre-built image

This commit is contained in:
sharkoz 2019-03-16 20:13:22 +01:00 committed by GitHub
parent 3824ea7ca0
commit cbd5d2ed1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -8,16 +8,14 @@ services:
volumes:
- db:/db-data
app:
env_file: docker.env
build: .
image: cosme/babybuddy
env_file:
- /path/to/docker.env
command: gunicorn -c /app/gunicorn.py babybuddy.wsgi
ports:
- "8000:8000"
depends_on:
- db
volumes:
- baby_data:/app
volumes:
db:
baby_data: