Files
gitea-ci-in-gvisor/.env.example
T

21 lines
625 B
Bash

# Copy to .env and adjust.
# Host ports exposed by the DinD host.
GITEA_HTTP_PORT=3000
GITEA_SSH_PORT=2222
# Gitea external hostname. Keep "gitea" unless you set ROOT_URL to a public URL.
GITEA_DOMAIN=gitea
GITEA_ROOT_URL=http://gitea:3000/
GITEA_RUNNER_NAME=gvisor-runner
# Option 1: paste a registration token generated by:
# docker compose exec -u git gitea gitea actions generate-runner-token
GITEA_RUNNER_REGISTRATION_TOKEN=
# Option 2: leave the token empty and provide an EXISTING Gitea admin account.
# The runner will fetch a global registration token through the API.
GITEA_ADMIN_USER=
GITEA_ADMIN_PASSWORD=