This commit is contained in:
beabigegg
2025-08-28 11:51:04 +08:00
parent 4f7f46b07a
commit bdfda30ca8
12 changed files with 441 additions and 222 deletions

View File

@@ -21,11 +21,32 @@ LDAP_BIND_USER_PASSWORD=service_password
LDAP_USER_LOGIN_ATTR=userPrincipalName
# SMTP 郵件設定
SMTP_SERVER=smtp.company.com
SMTP_PORT=587
SMTP_USE_TLS=True
SMTP_SENDER_EMAIL=noreply@company.com
SMTP_SENDER_PASSWORD=smtp_password
# 方案 1: 使用 Port 25 (無需認證) - 推薦用於內部郵件伺服器
SMTP_SERVER=mail.panjit.com.tw
SMTP_PORT=25
SMTP_USE_TLS=false
SMTP_USE_SSL=false
SMTP_AUTH_REQUIRED=false
SMTP_SENDER_EMAIL=temp-spec-system@panjit.com.tw
SMTP_SENDER_PASSWORD=
# 方案 2: 使用 Port 587 (需要認證) - 用於外部 SMTP 或有認證需求的伺服器
# SMTP_SERVER=smtp.company.com
# SMTP_PORT=587
# SMTP_USE_TLS=true
# SMTP_USE_SSL=false
# SMTP_AUTH_REQUIRED=true
# SMTP_SENDER_EMAIL=noreply@company.com
# SMTP_SENDER_PASSWORD=smtp_password
# 方案 3: 使用 Port 465 (SSL + 認證) - 用於安全連接
# SMTP_SERVER=smtp.gmail.com
# SMTP_PORT=465
# SMTP_USE_TLS=false
# SMTP_USE_SSL=true
# SMTP_AUTH_REQUIRED=true
# SMTP_SENDER_EMAIL=yourapp@gmail.com
# SMTP_SENDER_PASSWORD=app_password
# ONLYOFFICE Document Server 設定
ONLYOFFICE_PORT=8080