fix(security): harden auth and uploads

This commit is contained in:
2026-07-02 17:21:13 +08:00
parent 4675548fce
commit 220fcbc4ce
3 changed files with 141 additions and 23 deletions
+5
View File
@@ -3,6 +3,11 @@ services:
image: pipeline-lifetime:latest
container_name: pipeline-lifetime
restart: unless-stopped
environment:
SECRET_KEY: ${SECRET_KEY:-}
ADMIN_USERNAME: ${ADMIN_USERNAME:-admin}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-}
MAX_UPLOAD_BYTES: ${MAX_UPLOAD_BYTES:-16777216}
ports:
- "5005:5005"
volumes: