From a3e67f9fceea0d58704cecbe283c48f6d15aa7b3 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Fri, 12 Dec 2025 20:26:49 +0100 Subject: [PATCH] Disable public registriation to my gitea server My gitea-server is basically my safe harbor for private git-projects. It is not meant to be public. Even more important that would shift responsibilities a lot, especially legal liabilities may become important suddenly, when the server is open. Furthermore I can't guarantee a process availability when I cannot make any assumptions about the usage. And, I cannot make such assumptions for an open and public project which I maintain in my spare-time. --- roles/k8s-setup/tasks/_gitea.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/k8s-setup/tasks/_gitea.yml b/roles/k8s-setup/tasks/_gitea.yml index 2d0bbcb..166bd8d 100644 --- a/roles/k8s-setup/tasks/_gitea.yml +++ b/roles/k8s-setup/tasks/_gitea.yml @@ -71,6 +71,8 @@ email: "{{ gitea_admin_email }}" config: APP_NAME: "Gitea: Mein kleiner git-server" + service: + DISABLE_REGISTRATION: "true" markup.plantuml: ENABLED: "true" NEED_POSTPROCESS: "false"