mirror of
https://github.com/l4rm4nd/VoucherVault.git
synced 2026-06-11 17:24:32 -04:00
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
services:
|
|
|
|
app:
|
|
image: l4rm4nd/vouchervault:1.25.x
|
|
container_name: vouchervault
|
|
restart: unless-stopped
|
|
environment:
|
|
# your FQDN or IP; multiple ones supported by comma separation
|
|
- 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
|
|
# define the timezone
|
|
- TZ=Europe/Berlin
|
|
# ------- USE PSQL DB --------
|
|
- DB_ENGINE=postgres
|
|
- POSTGRES_USER=vouchervault
|
|
- POSTGRES_PASSWORD=vouchervault
|
|
- POSTGRES_DB=vouchervault
|
|
- POSTGRES_HOST=db
|
|
- POSTGRES_PORT=5432
|
|
expose:
|
|
- 8000
|
|
ports:
|
|
- 8000:8000
|
|
volumes:
|
|
- ./volume-data/database:/opt/app/database
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: vouchervault-redis
|
|
restart: unless-stopped
|
|
expose:
|
|
- 6379
|
|
|
|
db:
|
|
image: postgres:16-alpine
|
|
container_name: vouchervault-psql
|
|
restart: unless-stopped
|
|
expose:
|
|
- 5432
|
|
volumes:
|
|
- ./volume-data/database/psql:/var/lib/postgresql/data/
|
|
environment:
|
|
- POSTGRES_USER=vouchervault
|
|
- POSTGRES_PASSWORD=vouchervault
|
|
- POSTGRES_DB=vouchervault
|