We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fb9a37 commit 822c1ffCopy full SHA for 822c1ff
docker-compose.yml
@@ -11,15 +11,8 @@ services:
11
12
web:
13
build: .
14
- environment:
15
- - REDISCLOUD_URL=${REDISCLOUD_URL}
16
- - SECRET_KEY=${SECRET_KEY}
17
- - DEBUG=${DEBUG}
18
- - ALLOWED_HOSTS=${ALLOWED_HOSTS}
19
- - DATABASE_URL=${DATABASE_URL}
20
- - DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE}
21
- - SEARCHBOX_SSL_URL=${SEARCHBOX_SSL_URL}
22
- - SESSION_COOKIE_SECURE=${SESSION_COOKIE_SECURE}
+ env_file:
+ - .env
23
command: gunicorn djangosnippets.wsgi:application -b 0.0.0.0:8000 --log-level debug -k gevent -w 2
24
volumes:
25
- .:/code
0 commit comments