diff --git a/gitea/.env.example b/gitea/.env.example
index c630244..4a9c59d 100644
--- a/gitea/.env.example
+++ b/gitea/.env.example
@@ -3,3 +3,5 @@ NETWORK_NAME=falcon_network
RUNNER_TOKEN=change_me
EMAIL_FROM=gitea@pivoine.art
EMAIL_USER=Gitea
+UMAMI_SRC=https://umami.example.com/script.js
+UMAMI_ID=
diff --git a/gitea/.gitignore b/gitea/.gitignore
new file mode 100644
index 0000000..4c49bd7
--- /dev/null
+++ b/gitea/.gitignore
@@ -0,0 +1 @@
+.env
diff --git a/gitea/compose.yml b/gitea/compose.yml
index 65ca25b..a509349 100644
--- a/gitea/compose.yml
+++ b/gitea/compose.yml
@@ -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:
diff --git a/gitea/templates/custom/header.tmpl b/gitea/templates/custom/header.tmpl
index 08f2020..3e40ed0 100644
--- a/gitea/templates/custom/header.tmpl
+++ b/gitea/templates/custom/header.tmpl
@@ -1 +1,3 @@
-
+{{if and (eq .RunMode "prod") (not .IsSigned)}}
+
+{{end}}