2023-07-24 20:25:48 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
backend:
|
|
|
|
container_name: clubhaus_backend
|
|
|
|
image: icaotix/clubhaus_backend
|
|
|
|
build:
|
|
|
|
context: ../../
|
|
|
|
dockerfile: Deployment/Live/Dockerfile.python
|
2022-08-08 17:48:13 +02:00
|
|
|
restart: "unless-stopped"
|
2023-07-24 20:25:48 +02:00
|
|
|
command: gunicorn clubhaus.wsgi:application --bind 0.0.0.0:12000
|
|
|
|
volumes:
|
|
|
|
- ../../clubhaus:/usr/src/app
|
|
|
|
environment:
|
|
|
|
- ALLOWED_HOSTS=clubhaus-schornbach.de
|
|
|
|
- CSRF_TRUSTED_ORIGINS=https://clubhaus-schornbach.de
|
|
|
|
- SESSION_COOKIE_SECURE=True
|
|
|
|
- IP_RATE_LIMIT_TIME=3600
|
|
|
|
- DEBUG_MODE=False
|
|
|
|
- LC_ALL=de_DE.UTF-8
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:12000:12000"
|