Merge pull request #60 from sharkoz/master

Use pre-built docker image for compose
This commit is contained in:
Christopher Charbonneau Wells 2019-03-16 19:35:52 -07:00 committed by GitHub
commit 5ba0e66e8b
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: volumes:
- db:/db-data - db:/db-data
app: app:
env_file: docker.env image: cosme/babybuddy
build: . env_file:
- /path/to/docker.env
command: gunicorn -c /app/gunicorn.py babybuddy.wsgi command: gunicorn -c /app/gunicorn.py babybuddy.wsgi
ports: ports:
- "8000:8000" - "8000:8000"
depends_on: depends_on:
- db - db
volumes:
- baby_data:/app
volumes: volumes:
db: db:
baby_data: