Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ services:
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_DB=djangosnippets

volumes:
- postgresdata:/var/lib/postgresql/data

web:
build: .
environment:
Expand All @@ -20,10 +20,7 @@ services:
- DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE}
- SEARCHBOX_SSL_URL=${SEARCHBOX_SSL_URL}
- SESSION_COOKIE_SECURE=${SESSION_COOKIE_SECURE}


command: gunicorn djangosnippets.wsgi:application -b 0.0.0.0:8000 --log-level debug -k gevent -w 2

volumes:
- .:/code
ports:
Expand All @@ -32,7 +29,6 @@ services:
- db
- redis


redis:
restart: always
image: redis:3.2.12
Expand Down