feat(gitea): add conditional Umami analytics via env vars in header

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 10:17:19 +02:00
parent a9eb3de90d
commit 735adfabea
4 changed files with 8 additions and 1 deletions
+2
View File
@@ -36,6 +36,8 @@ services:
GITEA__ui__THEMES: gitea-auto,gitea-light,gitea-dark,arc-green,edge-auto,edge-dark,edge-light,everforest-auto,everforest-dark,everforest-light,gruvbox-auto,gruvbox-dark,gruvbox-light,gruvbox-material-auto,gruvbox-material-dark,gruvbox-material-light,nord,palenight,soft-era,sonokai,sonokai-andromeda,sonokai-atlantis,sonokai-espresso,sonokai-maia,sonokai-shusia
GITEA__ui__DEFAULT_THEME: nord
GITEA__ui__ENABLE_FEED: "true"
UMAMI_SRC: ${UMAMI_SRC}
UMAMI_ID: ${UMAMI_ID}
ports:
- "2222:2222"
volumes: