update: 新增SESSION_COOKIE_SECURE配置

This commit is contained in:
xiamuceer
2026-04-29 09:14:37 +08:00
parent 1f80a58994
commit 2501755008
5 changed files with 27 additions and 3 deletions
+1
View File
@@ -120,6 +120,7 @@ services:
# 会话配置
- SESSION_EXPIRE_MINUTES=${SESSION_EXPIRE_MINUTES:-120}
- SESSION_REFRESH_THRESHOLD_MINUTES=${SESSION_REFRESH_THRESHOLD_MINUTES:-30}
- SESSION_COOKIE_SECURE=${SESSION_COOKIE_SECURE:-true}
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]