diff --git a/roles/forgejo/templates/app.ini.j2 b/roles/forgejo/templates/app.ini.j2 index 83cb90a..8f9a0c6 100644 --- a/roles/forgejo/templates/app.ini.j2 +++ b/roles/forgejo/templates/app.ini.j2 @@ -54,6 +54,10 @@ SSH_LISTEN_PORT=8022 COOKIE_NAME=session COOKIE_SECURE=true +[service] +DISABLE_REGISTRATION=true +SHOW_REGISTRATION_BUTTON=false + [cache] ADAPTER=redis HOST=redis://redis-forgejo:6379/0?pool_size=100&idle_timeout=180s