forked from username/flaskpaste
compose: set URL_PREFIX for HAProxy deployment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user