compose: set URL_PREFIX for HAProxy deployment

This commit is contained in:
Username
2025-12-20 20:25:09 +01:00
parent 14be46cdaf
commit 4f0b33fd7b

View File

@@ -15,6 +15,7 @@ services:
- flaskpaste-data:/app/data
environment:
- FLASK_ENV=production
- FLASKPASTE_URL_PREFIX=/paste # HAProxy strips this before forwarding
- FLASKPASTE_EXPIRY=432000 # 5 days
- FLASKPASTE_MAX_ANON=3145728 # 3 MiB
- FLASKPASTE_MAX_AUTH=52428800 # 50 MiB