From 0371004150fe6f9b11ade1ade7832628da284d4f Mon Sep 17 00:00:00 2001 From: Phil Date: Sat, 31 Oct 2026 08:46:06 -0600 Subject: [PATCH] Move Gitea login from Authentik to Pocket ID The OAuth2 source in Gitea's database was renamed to PocketID and pointed at Pocket ID with 'gitea admin auth update-oauth', and the existing user's external login was remapped to the Pocket ID user. Here the container now resolves the Pocket ID host instead of Authentik; the runner never needed the login host. Credentials are in vault_gitea. Co-Authored-By: Claude Opus 5.5 --- roles/docker/templates/gitea-compose.yml.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/docker/templates/gitea-compose.yml.j2 b/roles/docker/templates/gitea-compose.yml.j2 index 56e9e9e..b5125fb 100644 --- a/roles/docker/templates/gitea-compose.yml.j2 +++ b/roles/docker/templates/gitea-compose.yml.j2 @@ -23,7 +23,7 @@ services: ports: - 222:22 extra_hosts: - - '{{ subdomains.auth }}:{{ docker.hairpin_ip }}' + - '{{ subdomains.pocketid }}:{{ docker.hairpin_ip }}' - '{{ subdomains.git }}:{{ docker.hairpin_ip }}' {% if lava_reserved | default(false) | bool %} networks: @@ -42,7 +42,6 @@ services: - GITEA_RUNNER_NAME=runner_1 - GITEA_RUNNER_LABELS=docker extra_hosts: - - '{{ subdomains.auth }}:{{ docker.hairpin_ip }}' - '{{ subdomains.git }}:{{ docker.hairpin_ip }}' labels: mag37.dockcheck.update: true