Files
gitea-setup/.env.example
2026-02-18 21:43:37 +01:00

23 lines
610 B
Plaintext

### Shared network with your existing Traefik/Postgres stack
SHARED_NETWORK_NAME=web
### Public domain for Gitea (requested subdomain: git)
GITEA_DOMAIN=git.example.com
GITEA_SSH_PORT=2222
### Container user mapping
GITEA_UID=1000
GITEA_GID=1000
### Existing Postgres connection (from your main stack)
GITEA_DB_HOST=postgres
GITEA_DB_PORT=5432
GITEA_DB_NAME=gitea
GITEA_DB_USER=gitea
GITEA_DB_PASSWORD=change-me
### Gitea Actions runner
GITEA_RUNNER_NAME=gitea-runner-01
GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:20-bookworm,linux_amd64:host
GITEA_RUNNER_REGISTRATION_TOKEN=replace-with-runner-token