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