mirror of
https://github.com/l4rm4nd/VoucherVault.git
synced 2026-06-11 09:14:23 -04:00
28 lines
781 B
YAML
28 lines
781 B
YAML
services:
|
|
|
|
app:
|
|
image: l4rm4nd/vouchervault:1.4.x
|
|
container_name: vouchervault
|
|
restart: unless-stopped
|
|
environment:
|
|
# your FQDN or IP; used to define ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS
|
|
- DOMAIN=vouchervault.example.com
|
|
# set to True if you use a reverse proxy with tls; enables secure cookie flag and hsts
|
|
- SECURE_COOKIES=False
|
|
# send notifications xx days prior expiry
|
|
- EXPIRY_THRESHOLD_DAYS=90
|
|
expose:
|
|
- 8000
|
|
ports:
|
|
- 8000:8000
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- ./volume-data/database:/opt/app/database
|
|
|
|
redis:
|
|
image: redis:7.2-alpine
|
|
container_name: vouchervault-redis
|
|
restart: unless-stopped
|
|
expose:
|
|
- 6379 |