18 lines
584 B
Bash
18 lines
584 B
Bash
HOST="127.0.0.1"
|
|
PORT="3000"
|
|
TRUST_PROXY="loopback"
|
|
|
|
# Gitea discovery is disabled unless all three values are configured.
|
|
GITEA_BASE_URL="https://git.example.internal"
|
|
GITEA_ALLOWED_ORIGINS="https://git.example.internal"
|
|
GITEA_TOKEN="replace-with-a-read-only-gitea-token"
|
|
GITEA_DISCOVERY_TIMEOUT_MS="5000"
|
|
GITEA_DISCOVERY_RATE_LIMIT="5"
|
|
GITEA_DISCOVERY_RATE_WINDOW_MS="60000"
|
|
|
|
# Hosts accepted by Git connectivity and synchronization endpoints.
|
|
GIT_ALLOWED_HOSTS="git.example.internal"
|
|
|
|
# Optional path-delimited roots for local development repositories.
|
|
GIT_ALLOWED_LOCAL_ROOTS="."
|