Files
gongxue-base/scripts/deploy/env/worker.env.example
2026-07-01 20:09:02 +08:00

33 lines
1.2 KiB
Plaintext

# Copy to /etc/tiku-saas/worker.env and chmod 600.
# This file is read by systemd. Do not commit the real file.
NODE_ENV=production
DATABASE_URL=postgresql://tiku_app:replace-with-password@127.0.0.1:5432/postgres
SUPABASE_URL=https://supabase.tjszsb.com
STORAGE_DEFAULT_PROVIDER=aliyun_oss
ALIYUN_OSS_REGION=oss-cn-beijing
ALIYUN_OSS_ENDPOINT=https://oss-cn-beijing.aliyuncs.com
ALIYUN_OSS_BUCKET=replace-with-bucket
ALIYUN_OSS_ACCESS_KEY_ID=replace-with-access-key-id
ALIYUN_OSS_ACCESS_KEY_SECRET=replace-with-access-key-secret
ASSET_SIGNING_SECRET=replace-with-strong-random-asset-secret
WORKER_ASSET_SECURITY_SCANNER=metadata_rules,http
WORKER_ASSET_SECURITY_SCAN_FAIL_OPEN=false
ASSET_SECURITY_SCAN_ENDPOINT=https://replace-with-security-scanner.example.com/scan
ASSET_SECURITY_SCAN_TOKEN=replace-with-scanner-token
WECHAT_PAY_MCH_ID=replace-with-merchant-id
WECHAT_PAY_APP_ID=replace-with-pay-app-id
WECHAT_PAY_API_V3_KEY=replace-with-api-v3-key
WECHAT_PAY_PRIVATE_KEY=replace-with-private-key-path-or-kms-id
ALIPAY_APP_ID=replace-with-alipay-app-id
ALIPAY_APP_PRIVATE_KEY=replace-with-private-key-path-or-kms-id
ALIPAY_PUBLIC_KEY=replace-with-alipay-public-key
CRM_WEBHOOK_TIMEOUT_MS=5000
WORKER_POLL_INTERVAL_MS=5000