chore: add cloud deployment templates

This commit is contained in:
Codex
2026-07-01 20:09:02 +08:00
parent fa2c39119b
commit cc9b552684
13 changed files with 632 additions and 0 deletions

18
scripts/deploy/env/deploy.env.example vendored Normal file
View File

@@ -0,0 +1,18 @@
# 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