From 60848c750f6bf61c091c2b6af89a6f3331b431dc Mon Sep 17 00:00:00 2001 From: Javier Puig Diaz Date: Thu, 8 Oct 2026 17:23:41 +0100 Subject: [PATCH] Update README.md --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 35eca1e..085ca06 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,34 @@ # authentik | Gitea | Leantime CI/CD stack -A portainer docker compose stack for Raspberry Pi with authentik, Gitea and Leantime for local CI/CD (you are accessing it right now) \ No newline at end of file +A portainer docker compose stack for Raspberry Pi with authentik, Gitea and Leantime for local CI/CD (you are accessing it right now) + +I am trying to use my vpnstack NPM portainer docker compose setup to use https for this, but failing miserably... + +So far I got it working in my LAN, but https won't work.... tried but it always times out... I suspect it's the nginx it uses I had similar problems with snipeit on proxmox, but there I managed to fix it at the end, although local access was not possible anymore if I did... + +steps taken: +in NPM settings, added + +proxy_set_header X-Forwarded-Proto $scheme; +proxy_set_header X-Real-IP $remote_addr; +client_max_body_size 512M; + +in the portainer editor, added + + - GITEA__server__ROOT_URL=https://${GITEA_DOMAIN} + - GITEA__server__DOMAIN=${GITEA_DOMAIN} + - GITEA__server__SSH_DOMAIN=${GITEA_DOMAIN} + - GITEA__server__SSH_PORT=2022 + - GITEA__server__HTTP_PORT=3000 + - GITEA__server__PROTOCOL=http + - GITEA__server__HTTP_ADDR=0.0.0.0 + - GITEA__server__LOCAL_ROOT_URL=http://localhost:3000/ + +where ${GITEA_DOMAIN} in the portainer env is set to my duckdns: JavITYourWay.duckdns.org + +results: when forcing SSL in NPM timeout, so I had to not force it and revert back everything... + + +TO-DO: + - learn nginx properly to at least show Gitea via https to the world (right now only http works) + - make authentik also NPM so I can use it outside my LAN (strech GOAL) \ No newline at end of file