mirror of
https://github.com/m1ngsama/automa.git
synced 2026-03-26 02:33:50 +00:00
- services/forgejo/deploy.sh: deploys Forgejo via Docker to /opt/frp,
sets up nginx vhost, optionally installs GitHub mirror sync cron
- services/forgejo/{.env.example,docker-compose.yml,nginx.conf.example}:
bundled templates following find_template pattern (INFRA_DIR override)
- services/nginx/deploy.sh: fix bare envsubst clobbering nginx $vars
(e.g. $host, $uri) by scoping substitution to known domain vars only
10 lines
283 B
Text
10 lines
283 B
Text
# role: vps
|
|
# description: Forgejo self-hosted git service with optional GitHub mirror sync
|
|
|
|
GIT_DOMAIN=git.your-domain.com
|
|
|
|
# Optional: GitHub → Forgejo mirror sync (leave blank to skip cron setup)
|
|
GITHUB_USER=
|
|
GITHUB_TOKEN=
|
|
FORGEJO_URL=https://git.your-domain.com
|
|
FORGEJO_TOKEN=
|