chore: update vouchervault

This commit is contained in:
LRVT 2024-07-28 02:27:30 +02:00 committed by GitHub
parent 0eddd1b4bd
commit edda212d58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,20 +1,17 @@
services:
vouchervault:
image: l4rm4nd/vouchervault:latest
image: l4rm4nd/vouchervault:1.0.x
container_name: vouchervault
environment:
- 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
ports:
- 8888:8000
- 8000:8000
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro