Skip to content

Commit

Permalink
Fix Docker development environment in new settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bfirsh committed Nov 5, 2018
1 parent 0c2567d commit 3b021ba
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: "3.0"
version: "3.4"

services:
web:
build: .
command: ./manage.py runserver 0.0.0.0:8000
ports:
- "8000:8000"
environment:
- "SECRET_KEY=insecure - only for development"
- "MODE=DEVELOPMENT"
- "DJANGO_SETTINGS_MODULE=modernomad.settings.local"
- "STRIPE_SECRET_KEY"
- "STRIPE_PUBLISHABLE_KEY"
- "DISCOURSE_BASE_URL"
Expand All @@ -32,8 +32,7 @@ services:
build: .
command: bin/celeryd
environment:
- "SECRET_KEY=insecure - only for development"
- "MODE=DEVELOPMENT"
- "DJANGO_SETTINGS_MODULE=modernomad.settings.local"
- "STRIPE_SECRET_KEY"
- "STRIPE_PUBLISHABLE_KEY"
- "DISCOURSE_BASE_URL"
Expand Down

0 comments on commit 3b021ba

Please sign in to comment.