All checks were successful
Build and Publish Docker Image / deploy (push) Successful in 1m38s
- Add `WARPBOX_TRUSTED_PROXIES` configuration to restrict accepted forwarded client IP headers to specific proxy IPs/CIDRs, securing client IP resolution. - Integrate `BanService` into the background cleanup job to automatically purge expired abuse and ban evidence events. - Update documentation with reverse proxy security guidelines and a production systemd deployment guide.
34 lines
1013 B
Plaintext
34 lines
1013 B
Plaintext
WARPBOX_APP_NAME=warpbox.dev
|
|
WARPBOX_ENV=development
|
|
WARPBOX_ADDR=:8080
|
|
WARPBOX_BASE_URL=http://localhost:8080
|
|
WARPBOX_DATA_DIR=./data
|
|
WARPBOX_ADMIN_TOKEN=change-me
|
|
WARPBOX_JOBS_ENABLED=true
|
|
WARPBOX_CLEANUP_ENABLED=true
|
|
WARPBOX_CLEANUP_EVERY=1h
|
|
WARPBOX_THUMBNAIL_ENABLED=true
|
|
WARPBOX_THUMBNAIL_EVERY=1m
|
|
WARPBOX_MAX_UPLOAD_SIZE_MB=16384
|
|
WARPBOX_ANONYMOUS_UPLOADS_ENABLED=true
|
|
WARPBOX_ANONYMOUS_MAX_UPLOAD_MB=512
|
|
WARPBOX_ANONYMOUS_DAILY_UPLOAD_MB=2048
|
|
WARPBOX_USER_DAILY_UPLOAD_MB=8192
|
|
WARPBOX_DEFAULT_USER_STORAGE_MB=51200
|
|
WARPBOX_USAGE_RETENTION_DAYS=30
|
|
WARPBOX_LOCAL_STORAGE_MAX_GB=100
|
|
WARPBOX_ANONYMOUS_MAX_DAYS=30
|
|
WARPBOX_USER_MAX_DAYS=90
|
|
WARPBOX_ANONYMOUS_DAILY_BOXES=100
|
|
WARPBOX_USER_DAILY_BOXES=250
|
|
WARPBOX_ANONYMOUS_ACTIVE_BOXES=500
|
|
WARPBOX_USER_ACTIVE_BOXES=1000
|
|
WARPBOX_SHORT_WINDOW_REQUESTS=60
|
|
WARPBOX_SHORT_WINDOW_SECONDS=60
|
|
WARPBOX_ANONYMOUS_STORAGE_BACKEND=local
|
|
WARPBOX_USER_STORAGE_BACKEND=local
|
|
WARPBOX_READ_TIMEOUT=15s
|
|
WARPBOX_WRITE_TIMEOUT=60s
|
|
WARPBOX_IDLE_TIMEOUT=120s
|
|
WARPBOX_TRUSTED_PROXIES=
|