# Flask 應用程式設定 SECRET_KEY=your-super-secret-and-random-string-here FLASK_ENV=production APP_PORT=5000 UPLOAD_FOLDER=uploads # 資料庫設定 DB_ROOT_PASSWORD=tempspec123 DB_NAME=tempspec_db DB_USER=tempspec_user DB_PASSWORD=tempspec_pass DB_PORT=3306 # LDAP/Active Directory 設定 LDAP_SERVER=ldap://your-dc.company.com LDAP_PORT=389 LDAP_USE_SSL=False LDAP_SEARCH_BASE=DC=company,DC=com LDAP_BIND_USER_DN=CN=service,DC=company,DC=com 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 # ONLYOFFICE Document Server 設定 ONLYOFFICE_PORT=8080 ONLYOFFICE_JWT_SECRET=your-onlyoffice-jwt-secret-string # Nginx 設定 (可選) NGINX_PORT=80 NGINX_SSL_PORT=443