forgejo: fix config (jwt-token format) #226

Merged
mg merged 3 commits from fg into master 2024-11-07 11:28:54 +01:00
Showing only changes of commit ce415f1d66 - Show all commits

View file

@ -71,7 +71,10 @@ gitea_fqdn: "git.mgrote.net"
gitea_ssh_port: 2222 gitea_ssh_port: 2222
gitea_start_ssh: true gitea_start_ssh: true
gitea_shell: "/bin/false" gitea_shell: "/bin/false"
# Repository # repository
gitea_repository_extra_config: |
[repository]
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true
gitea_default_branch: "master" gitea_default_branch: "master"
gitea_default_private: "public" gitea_default_private: "public"
gitea_repository_root: "{{ gitea_home }}/repos" gitea_repository_root: "{{ gitea_home }}/repos"
@ -135,7 +138,6 @@ gitea_extra_config: |
; disabled; see: https://github.com/go-gitea/gitea/issues/25992 ; disabled; see: https://github.com/go-gitea/gitea/issues/25992
[repo-archive] [repo-archive]
ENABLED = false ENABLED = false
# oauth2 # oauth2
gitea_oauth2_jwt_secret: "{{ lookup('viczem.keepass.keepass', 'forgejo_oauth2_jwt_secret', 'password') }}" gitea_oauth2_jwt_secret: "{{ lookup('viczem.keepass.keepass', 'forgejo_oauth2_jwt_secret', 'password') }}"
# Fail2Ban configuration # Fail2Ban configuration
@ -144,10 +146,6 @@ gitea_fail2ban_jail_maxretry: "3"
gitea_fail2ban_jail_findtime: "300" gitea_fail2ban_jail_findtime: "300"
gitea_fail2ban_jail_bantime: "600" gitea_fail2ban_jail_bantime: "600"
gitea_fail2ban_jail_action: "iptables-allports" gitea_fail2ban_jail_action: "iptables-allports"
# repository
gitea_repository_extra_config: |
[repository]
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true
### mgrote_gitea_setup ### mgrote_gitea_setup
gitea_ldap_host: "ldap.mgrote.net" gitea_ldap_host: "ldap.mgrote.net"