Files
TEMP_spec_system/.env
beabigegg a408ce402d check_ok
2025-09-12 08:00:56 +08:00

35 lines
1.1 KiB
Bash
Raw 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.

# .env
# 將敏感資訊存放在此,並確保此檔案被加入 .gitignore不要上傳到版本控制系統
# 資料庫連線字串
# 格式: mysql+pymysql://<user>:<password>@<host>:<port>/<dbname>
DATABASE_URL="mysql+pymysql://A060:WLeSCi0yhtc7@mysql.theaken.com:33306/db_A060"
# Flask 的 Secret Key
SECRET_KEY="933f9064329f29e642b20089e6ee16b3dd15da6acb6fdd98"
# ONLYOFFICE Document Server URL
ONLYOFFICE_URL="http://localhost:8080/"
# Secret key for ONLYOFFICE JWT
ONLYOFFICE_JWT_SECRET="933f9064330f29e642b20089e6ee16b3dd15da6acb6fdd98"
# --- LDAP Settings ---
LDAP_SERVER=panjit.com.tw
LDAP_PORT=389
LDAP_USE_SSL=false
# 服務帳號 (用於查詢群組)
LDAP_BIND_USER_DN="CN=LdapBind,CN=Users,DC=PANJIT,DC=COM,DC=TW"
LDAP_BIND_USER_PASSWORD="panjit2481"
# 使用者和群組的搜尋基礎
LDAP_SEARCH_BASE="OU=PANJIT,DC=panjit,DC=com,DC=tw"
LDAP_USER_LOGIN_ATTR=userPrincipalName
# --- SMTP Settings ---
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=