Files
gongxue-base/scripts/deploy/env/deploy.env.example
2026-07-01 21:34:39 +08:00

26 lines
799 B
Plaintext

# Copy to /etc/tiku-saas/deploy.env and chmod 600.
# Keep real credentials on the server only.
GIT_REPO=https://git.gongxue100.com/chenhaogxjy/tiku-supabase.git
GIT_BRANCH=main
# Prefer SSH deploy key. If using HTTPS token, create a rotated read-only deploy token.
GIT_USERNAME=replace-with-readonly-deploy-user
GITEA_TOKEN=replace-with-rotated-readonly-token
APP_ROOT=/opt/tiku-saas
REPO_DIR=/opt/tiku-saas/repo
WWW_ROOT=/srv/tiku-saas/www
RUNTIME_CONFIG_DIR=/etc/tiku-saas/runtime-config
RUN_SECURITY_CHECKS=true
RUN_LAUNCH_GATE=true
RESTART_SERVICES=true
# Use https://registry.npmmirror.com on mainland China servers if npmjs times out.
NPM_REGISTRY=https://registry.npmjs.org/
NPM_FETCH_RETRIES=5
NPM_FETCH_RETRY_MINTIMEOUT=20000
NPM_FETCH_RETRY_MAXTIMEOUT=120000
NPM_FETCH_TIMEOUT=300000