kopia lustrzana https://github.com/Haxxnet/Compose-Examples
Update docker-compose.yml
rodzic
ad4dff6008
commit
3a6bff1de9
|
@ -4,10 +4,12 @@ services:
|
||||||
image: l4rm4nd/vouchervault:latest
|
image: l4rm4nd/vouchervault:latest
|
||||||
container_name: vouchervault
|
container_name: vouchervault
|
||||||
environment:
|
environment:
|
||||||
- DOMAIN=vouchervault.example.com # your FQDN if a reverse proxy is used
|
- DOMAIN=vouchervault.example.com # your FQDN or IP; used to define ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS
|
||||||
- SECRET_KEY=ChooseSuperSecretKey # please define a strong secret
|
- SECURE_COOKIES=False # set to True if you use a reverse proxy with tls; enables secure cookie flag and hsts
|
||||||
- REDIS_HOST=redis # the redis host for celery beat notification tasks
|
|
||||||
- EXPIRY_THRESHOLD_DAYS=90 # send notifications xx days prior expiry; default is 30
|
- 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
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- 8000
|
- 8000
|
||||||
|
|
Ładowanie…
Reference in New Issue