Https
This commit is contained in:
@@ -32,15 +32,16 @@ services:
|
||||
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "8001:8000" # Expose on host port 8001
|
||||
expose:
|
||||
- "8000"
|
||||
volumes:
|
||||
- static_volume:/app/staticfiles
|
||||
- media_volume:/app/media
|
||||
environment:
|
||||
- SECRET_KEY=${SECRET_KEY:-dev-secret-key-change-me}
|
||||
- DEBUG=${DEBUG:-True}
|
||||
- ALLOWED_HOSTS=${ALLOWED_HOSTS:-localhost,127.0.0.1}
|
||||
- SECRET_KEY=${SECRET_KEY}
|
||||
- DEBUG=${DEBUG:-False}
|
||||
- ALLOWED_HOSTS=${ALLOWED_HOSTS}
|
||||
- CSRF_TRUSTED_ORIGINS=${CSRF_TRUSTED_ORIGINS}
|
||||
- DATABASE_URL=postgres://splitchat:${DB_PASSWORD:-splitchat_password_123}@db:5432/splitchat
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
depends_on:
|
||||
@@ -60,4 +61,4 @@ volumes:
|
||||
|
||||
networks:
|
||||
splitchat_network:
|
||||
driver: bridge
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user