mirror of https://github.com/snachodog/mybuddy.git
Use pre-built image
This commit is contained in:
parent
3824ea7ca0
commit
cbd5d2ed1b
|
@ -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:
|
|
||||||
|
|
Loading…
Reference in New Issue