compose: enable PKI with CA password from env
Some checks failed
CI / Lint & Format (push) Failing after 16s
CI / Unit Tests (push) Has been skipped
CI / Memory Leak Check (push) Has been skipped
CI / SBOM Generation (push) Has been skipped
CI / Security Scan (push) Successful in 20s
CI / Security Tests (push) Has been skipped
CI / Advanced Security Tests (push) Has been skipped

This commit is contained in:
Username
2025-12-26 22:00:43 +01:00
parent 30bd02663b
commit 29bbef06b6

View File

@@ -19,6 +19,9 @@ services:
- FLASKPASTE_EXPIRY=432000 # 5 days
- FLASKPASTE_MAX_ANON=3145728 # 3 MiB
- FLASKPASTE_MAX_AUTH=52428800 # 50 MiB
- FLASKPASTE_PKI_ENABLED=1
- FLASKPASTE_PKI_CA_PASSWORD=${FLASKPASTE_PKI_CA_PASSWORD:-}
- FLASKPASTE_REGISTER_POW=0 # Disable PoW for testing
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/health')"]
interval: 30s