Move gitea to Authentik

Enable reverse proxy authentication via headers for Gitea
This commit is contained in:
Chris King
2025-01-22 18:22:43 -08:00
parent 97a97f5028
commit 78688d8bf5
2 changed files with 5 additions and 1 deletions

View File

@@ -144,7 +144,7 @@ import ttt-app-local cockpit 9090
#import ttt-app frigate 8971 #import ttt-app frigate 8971
import ttt-app overseerr 5055 import ttt-app overseerr 5055
import ttt-app openobserve 5080 import ttt-app openobserve 5080
import ttt-app gitea 3000 #import ttt-app gitea 3000
#import ttt-app homepage 3000 #import ttt-app homepage 3000
import ttt-app requestrr 4545 import ttt-app requestrr 4545
@@ -161,3 +161,4 @@ import redirect home homepage
import authentik frigate import authentik frigate
import authentik code import authentik code
import authentik gitea

View File

@@ -17,6 +17,9 @@ services:
GITEA__database__USER: ${GITEA_DB_USER} GITEA__database__USER: ${GITEA_DB_USER}
GITEA__database__PASSWD__FILE: /run/secrets/postgres_pass GITEA__database__PASSWD__FILE: /run/secrets/postgres_pass
GITEA__server__SSH_AUTHORIZED_KEYS_COMMAND_TEMPLATE: gitea --config={{.CustomConf}} serv key-{{.Key.ID}} GITEA__server__SSH_AUTHORIZED_KEYS_COMMAND_TEMPLATE: gitea --config={{.CustomConf}} serv key-{{.Key.ID}}
GITEA__service__ENABLE_REVERSE_PROXY_AUTHENTICATION: true
GITEA__service__ENABLE_REVERSE_PROXY_AUTO_REGISTRATION: true
GITEA__service__ENABLE_REVERSE_PROXY_EMAIL: true
restart: unless-stopped restart: unless-stopped
networks: networks:
- gitea - gitea