A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
14 lines
612 B
YAML
14 lines
612 B
YAML
# Prometheus scrape job for Gitea. Gathered into
|
|
# prometheus/scrape.d/gitea.yml by monitoringRefreshPrometheus when
|
|
# CFG_GITEA_MONITORING=true. Gitea's /metrics rides the main HTTP port (3000),
|
|
# which is the public web port — so it's locked behind a bearer token.
|
|
# The compose fills GITEA__metrics__TOKEN via the framework's RANDOMIZEDPASSWORD
|
|
# mechanism; gitea.sh mirrors that generated value into this fragment so the
|
|
# two always match.
|
|
- job_name: gitea
|
|
metrics_path: /metrics
|
|
authorization:
|
|
credentials: GITEA_METRICS_TOKEN_PLACEHOLDER
|
|
static_configs:
|
|
- targets: ['gitea-service:3000']
|