diff --git a/roles/docker/templates/gitea-compose.yml.j2 b/roles/docker/templates/gitea-compose.yml.j2 index acde1f9..39f43b0 100644 --- a/roles/docker/templates/gitea-compose.yml.j2 +++ b/roles/docker/templates/gitea-compose.yml.j2 @@ -29,6 +29,11 @@ services: # No HTTP Basic auth with account passwords. Tokens (PATs, OAuth, # Actions job tokens) sent via Basic auth still work. - GITEA__service__ENABLE_BASIC_AUTHENTICATION=false + # Web logins only through Pocket ID (sign-in page redirects there). + # phil (Pocket ID) is admin; git_admin is a CLI-only fallback: + # docker exec -u git gitea gitea admin ... + - GITEA__service__ENABLE_PASSWORD_SIGNIN_FORM=false + - GITEA__service__ENABLE_PASSKEY_AUTHENTICATION=false restart: unless-stopped labels: mag37.dockcheck.update: true