disinto/.env.example

37 lines
2.1 KiB
Text
Raw Normal View History

# Disinto — Environment Configuration
# Copy to .env and fill in your values.
# NEVER commit .env to the repo.
# ── Target project ────────────────────────────────────────────────────────
CODEBERG_REPO=johba/yourproject # org/repo slug on Codeberg
PROJECT_REPO_ROOT=/home/you/yourproject # local clone of the target repo
PRIMARY_BRANCH=main # main or master
# PROJECT_NAME=yourproject # optional — auto-derived from CODEBERG_REPO
# ── Auth tokens ───────────────────────────────────────────────────────────
# Codeberg API token (read from ~/.netrc by default, override here if needed)
# CODEBERG_TOKEN=
# Codeberg review bot token (separate account for formal reviews)
REVIEW_BOT_TOKEN=
# ── Woodpecker CI ─────────────────────────────────────────────────────────
WOODPECKER_TOKEN=
WOODPECKER_SERVER=http://localhost:8000
WOODPECKER_REPO_ID=2 # numeric repo ID in Woodpecker DB
# Woodpecker Postgres (for direct DB queries)
WOODPECKER_DB_PASSWORD=
WOODPECKER_DB_USER=woodpecker
WOODPECKER_DB_HOST=127.0.0.1
WOODPECKER_DB_NAME=woodpecker
# ── Matrix (optional — real-time notifications & escalation replies) ──────
MATRIX_HOMESERVER=http://localhost:8008 # Dendrite/Synapse URL
MATRIX_BOT_USER=@factory:your.server # bot's Matrix user ID
MATRIX_TOKEN= # bot's access token
MATRIX_ROOM_ID= # coordination room ID (!xxx:your.server)
# ── Tuning ────────────────────────────────────────────────────────────────
CLAUDE_TIMEOUT=7200 # max seconds per Claude invocation