Files

31 lines
1.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: 1
container:
port: 3000
healthcheck:
path: /api/health
# SQLite(DATABASE_PATH 預設 ./data/app.db)與附件(ATTACHMENTS_DIR 預設 ./data/attachments)都在 /app/data。
persistence:
enabled: true
mount_path: /app/data
auth:
mode: oidc
callback_path: /api/auth/callback/authentik
# 登出時一併登出公司帳號(2026-10-14 使用者決定):Authentik 登出後送回這裡,再轉到登入頁。
# 必須與 src/server/auth/oidc.ts 的 POST_LOGOUT_PATH 一致。
post_logout_path: /api/auth/logged-out
# 登入時同步姓名、部門與主管(src/server/hr-sync/);hr:read 用於 /organizations 的主管名單,2026-10-13 平台組核准。
resource_servers:
hr-sync:
scopes:
- hr:read
# 只有名稱;值留在開發者本機的 .env,部署時由 deploy-site 交給 Deployment API。
environment:
required:
- SESSION_SECRET
- APP_URL
- BOOTSTRAP_SYSADMIN_EMPLOYEE_NOS
# Zulip 待審與退回私訊(zulip-notifications)。ZULIP_DELIVERY 只在本機用,不列在這裡。
- ZULIP_SITE
- ZULIP_BOT_EMAIL
- ZULIP_API_KEY