2019-10-04 09:21:53 +00:00
|
|
|
version: "3.7"
|
2017-11-24 14:09:43 +00:00
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres
|
2018-06-13 13:07:36 +00:00
|
|
|
environment:
|
2019-10-04 08:50:41 +00:00
|
|
|
- PGDATA=/db-data
|
2018-06-13 13:07:36 +00:00
|
|
|
volumes:
|
2019-10-04 09:46:02 +00:00
|
|
|
- db:/db-data:rw
|
2017-11-26 19:02:57 +00:00
|
|
|
app:
|
2019-03-17 02:37:12 +00:00
|
|
|
image: cdubzzz/babybuddy
|
2020-02-04 19:30:19 +00:00
|
|
|
# See README.md#configuration for other environment configuration options.
|
|
|
|
environment:
|
|
|
|
- ALLOWED_HOSTS=
|
|
|
|
- DEBUG=False
|
|
|
|
- DJANGO_SETTINGS_MODULE=babybuddy.settings.docker
|
|
|
|
- SECRET_KEY=
|
|
|
|
- TIME_ZONE=
|
2017-11-24 14:09:43 +00:00
|
|
|
command: gunicorn -c /app/gunicorn.py babybuddy.wsgi
|
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
|
|
|
depends_on:
|
2018-06-13 13:07:36 +00:00
|
|
|
- db
|
|
|
|
volumes:
|
2019-10-04 09:46:02 +00:00
|
|
|
db: {}
|