diff --git a/gitea/.env.example b/gitea/.env.example
index a321462..9b50c19 100644
--- a/gitea/.env.example
+++ b/gitea/.env.example
@@ -1,5 +1,3 @@
TRAEFIK_HOST=dev.example.com
NETWORK_NAME=falcon_network
RUNNER_TOKEN=change_me
-UMAMI_SCRIPT_URL=https://umami.example.com/script.js
-UMAMI_WEBSITE_ID=change_me
diff --git a/gitea/compose.yml b/gitea/compose.yml
index afc2177..2b7f833 100644
--- a/gitea/compose.yml
+++ b/gitea/compose.yml
@@ -2,13 +2,6 @@ services:
gitea:
image: gitea/gitea:latest
container_name: gitea
- entrypoint:
- - /bin/sh
- - -c
- - |
- mkdir -p /data/gitea/templates/custom
- envsubst '$UMAMI_SCRIPT_URL $UMAMI_WEBSITE_ID' < /etc/gitea-umami/custom/header.tmpl.tpl > /data/gitea/templates/custom/header.tmpl
- exec /usr/bin/entrypoint
environment:
TZ: ${TIMEZONE:-Europe/Amsterdam}
USER_UID: 1000
@@ -41,8 +34,6 @@ 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_SCRIPT_URL: ${UMAMI_SCRIPT_URL}
- UMAMI_WEBSITE_ID: ${UMAMI_WEBSITE_ID}
ports:
- "2222:2222"
volumes:
@@ -50,7 +41,7 @@ services:
- ../.data/gitea/config:/etc/gitea
- ./css:/data/gitea/public/assets/css:ro
- ./img:/data/gitea/public/assets/img:ro
- - ./templates:/etc/gitea-umami:ro
+ - ./templates/custom:/data/gitea/templates/custom:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
db:
diff --git a/gitea/templates/custom/header.tmpl b/gitea/templates/custom/header.tmpl
new file mode 100644
index 0000000..08f2020
--- /dev/null
+++ b/gitea/templates/custom/header.tmpl
@@ -0,0 +1 @@
+
diff --git a/gitea/templates/custom/header.tmpl.tpl b/gitea/templates/custom/header.tmpl.tpl
deleted file mode 100644
index eaa1c2e..0000000
--- a/gitea/templates/custom/header.tmpl.tpl
+++ /dev/null
@@ -1 +0,0 @@
-