Governed substrate for autonomous agents: scoped identity (passports), audited actions, MCP workspace. Infra IPs and secrets redacted for public release.
29 lines
1 KiB
Text
29 lines
1 KiB
Text
# Telegram deploy-bot config — copy to .env and fill in your own values:
|
|
# cp env.example .env
|
|
# .env is git-ignored; never commit a real BOT_TOKEN.
|
|
|
|
# Token from @BotFather (required)
|
|
BOT_TOKEN=000000000:replace-with-your-botfather-token
|
|
|
|
# Telegram user id allowed to run commands (required).
|
|
# Run /whoami in the chat to discover your id. The bot denies everyone
|
|
# until this is set. OWNER_ID=0 disables the whitelist (do not use publicly).
|
|
OWNER_ID=
|
|
|
|
# Topology — a host of `local` (or empty) means "this same box" (single-box mode).
|
|
# Any other value is treated as an ssh target (e.g. user@host) and commands run over ssh.
|
|
PROD_HOST=local
|
|
DEV_HOST=local
|
|
PROD_PM2=godcrm
|
|
DEV_PM2=godcrm
|
|
PROD_CODE=/root/production/business-crm
|
|
|
|
# rsync target for /deploy_dev. Empty -> DEV is this box, sync step is skipped.
|
|
DEV_RSYNC_TARGET=
|
|
|
|
# Optional: public URLs printed after a successful deploy (leave empty to omit).
|
|
PROD_URL=
|
|
DEV_URL=
|
|
|
|
# Optional: nginx static dir. If set, /deploy_prod copies dist/* here after build.
|
|
PROD_STATIC_DIR=
|