fix(Docker): Fixed Docker-Compose-Example

The docker-compose example now runs out of the box, when the env variables are supplied. Migrations are
applied at startup and cachetable is created.

Closes #141
This commit is contained in:
MaximilianKindshofer 2020-04-18 18:30:35 +02:00
parent 85777d0b9a
commit d695afef90
1 changed files with 3 additions and 3 deletions

View File

@ -11,10 +11,10 @@ services:
image: babybuddy/babybuddy image: babybuddy/babybuddy
# See README.md#configuration for other environment configuration options. # See README.md#configuration for other environment configuration options.
environment: environment:
- ALLOWED_HOSTS=* - ALLOWED_HOSTS=
- DJANGO_SETTINGS_MODULE=babybuddy.settings.docker - DJANGO_SETTINGS_MODULE=babybuddy.settings.docker
- SECRET_KEY=5 - SECRET_KEY=
- TIME_ZONE=Europe/Berlin - TIME_ZONE=
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
- DEBUG=False # Turn to False in production - DEBUG=False # Turn to False in production
volumes: volumes: