GitHub mirroring is no longer needed now that Forgejo is the primary remote. Drops the gitea-mirror service, its volume, env vars, Caddy site, and firewall rule; docs updated to match.
22 lines
740 B
Text
22 lines
740 B
Text
# Forgejo
|
|
FORGEJO_VERSION=10
|
|
FORGEJO_HTTP_PORT=3000
|
|
FORGEJO_SSH_PORT=2222
|
|
FORGEJO_BIND_IP=0.0.0.0
|
|
FORGEJO_MEM_LIMIT=1G
|
|
|
|
# Full URL where Forgejo is reachable (used for clone URLs, webhooks, CSRF)
|
|
FORGEJO_ROOT_URL=https://git.home.example.com
|
|
FORGEJO_DOMAIN=git.home.example.com
|
|
|
|
# Generate with: openssl rand -base64 32
|
|
FORGEJO_DB_PASSWORD=<random-secret>
|
|
|
|
# Root of the UNAS forgejo_data share (bind-mounted into the LXC). Must
|
|
# contain repositories/, lfs/, attachments/, and avatars/ subdirectories.
|
|
FORGEJO_DATA_ROOT=/mnt/unas/forgejo_data
|
|
|
|
# false = open self-signup; leave true and create accounts with
|
|
# `docker exec forgejo forgejo admin user create ...` instead.
|
|
FORGEJO_DISABLE_REGISTRATION=true
|
|
FORGEJO_REQUIRE_SIGNIN_VIEW=false
|