Files
updater/.env.example
T
2026-07-14 17:53:07 +03:00

15 lines
744 B
Bash

# Repo/config for the updater. UPDATER_TOKEN lives in deployment/.env.prod (copied to server .env).
BACKEND_REPO=https://github.com/fromchat-messenger/backend.git
WEB_REPO=https://github.com/fromchat-messenger/web.git
DEPLOYMENT_REPO=https://github.com/fromchat-messenger/app.git
COMPOSE_PROJECT_DIR=/home/user/fromchat-server
FROMCHAT_COMPONENTS=backend,frontend,caddy
CHECK_INTERVAL_SECONDS=60
# Optional: force Gitea API base (otherwise host-gateway :3000 is probed first)
# GITEA_BASE=http://host.docker.internal:3000
# Gitea-only example (no GitHub fallback needed):
# BACKEND_REPO=https://git.fromchat.ru/FromChat/backend.git
# WEB_REPO=https://git.fromchat.ru/FromChat/web.git
# DEPLOYMENT_REPO=https://git.fromchat.ru/FromChat/app.git