fix: make cloud cookie security configurable

This commit is contained in:
wlx committed 2026-09-09 18:13:04 +08:00
1 parent 087a5aec51
commit ae749a1fe9
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@ services:
SPRING_DATASOURCE_PASSWORD: ${MOYI_DB_PASSWORD:?Set MOYI_DB_PASSWORD in infra/moyi/.env.cloud}
SPRING_DATA_REDIS_URL: ${MOYI_REDIS_URL:?Set MOYI_REDIS_URL in infra/moyi/.env.cloud}
FLYWAY_ENABLED: true
AUTH_SECURE_COOKIE: true
# IP + HTTP 临时测试时可设为 false;绑定域名并启用 HTTPS 后必须设为 true。
AUTH_SECURE_COOKIE: ${AUTH_SECURE_COOKIE:-true}
healthcheck:
test: ["CMD-SHELL", "wget -q -O - http://127.0.0.1:8787/health | grep -q 'status'"]
interval: 10s