Update docker-compose.yml

pull/23/head
LRVT 2024-07-18 00:42:02 +02:00 zatwierdzone przez GitHub
rodzic ad4dff6008
commit 3a6bff1de9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -4,10 +4,12 @@ services:
image: l4rm4nd/vouchervault:latest
container_name: vouchervault
environment:
- DOMAIN=vouchervault.example.com # your FQDN if a reverse proxy is used
- SECRET_KEY=ChooseSuperSecretKey # please define a strong secret
- REDIS_HOST=redis # the redis host for celery beat notification tasks
- DOMAIN=vouchervault.example.com # your FQDN or IP; used to define ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS
- SECURE_COOKIES=False # set to True if you use a reverse proxy with tls; enables secure cookie flag and hsts
- EXPIRY_THRESHOLD_DAYS=90 # send notifications xx days prior expiry; default is 30
- SECRET_KEY=ChooseSuperSecretKey # optional; if not defined, a secure secret is auto-generated
- PORT=8000 # optional; only relevant if you use a custom port; used to define CSRF_TRUSTED_ORIGINS
- REDIS_HOST=redis # optional; only change if you use another redis container
restart: unless-stopped
expose:
- 8000