Deployment changes

This commit is contained in:
2026-04-09 15:29:35 +02:00
parent 78125921ee
commit 2352dbe35a
3 changed files with 12 additions and 3 deletions

Binary file not shown.

View File

@@ -45,7 +45,9 @@ EMAIL_USE_TLS = False
# Hosts/domain names that are valid for this site; required if DEBUG is False # Hosts/domain names that are valid for this site; required if DEBUG is False
ALLOWED_HOSTS = ["localhost", "127.0.0.1", ".blechreiz.com", ".bauer.tech", ".br.tech"] ALLOWED_HOSTS = ["localhost", "127.0.0.1", ".blechreiz.com", ".bauer.tech"]
CSRF_TRUSTED_ORIGINS = ["https://br.bauer.tech", "https://*.bauer.tech", "https://*.blechreiz.com"]
# Local time zone for this installation. # Local time zone for this installation.
TIME_ZONE = "Europe/Berlin" TIME_ZONE = "Europe/Berlin"
@@ -179,7 +181,7 @@ GCAL_COUPLING = {
"clientId": "34462582242-4kpdvvbi27ajt4u22uitqurpve9o8ipj.apps.googleusercontent.com", "clientId": "34462582242-4kpdvvbi27ajt4u22uitqurpve9o8ipj.apps.googleusercontent.com",
"client_secret": os.environ.get("GCAL_CLIENT_SECRET", ""), "client_secret": os.environ.get("GCAL_CLIENT_SECRET", ""),
"credentials_file": PROJECT_PATH + "/calendarCredentials.dat", "credentials_file": PROJECT_PATH + "/calendarCredentials.dat",
"push_url": "https://blechreiz.bauer.tech/eventplanner_gcal/gcalApiCallback", "push_url": "https://br.bauer.tech/eventplanner_gcal/gcalApiCallback",
} }

View File

@@ -10,9 +10,16 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
volumes: volumes:
- .:/app # git repo is the live source - .:/app # git repo is the live source
environment:
- VIRTUAL_HOST=br.bauer.tech
- VIRTUAL_PORT=8000
env_file: env_file:
- blechreiz/.env - blechreiz/.env
ports: ports:
- "127.0.0.1:8000:8000" # only localhost; HTTPS handled by external proxy - "8000:8000" # only localhost; HTTPS handled by external proxy
restart: unless-stopped restart: unless-stopped
networks:
default:
name: nginx-proxy
external: true