forgejo: fix config (jwt-token format) (#226)
Reviewed-on: #226 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
parent
76f309d0e9
commit
921255792d
2 changed files with 4 additions and 6 deletions
|
@ -71,7 +71,10 @@ gitea_fqdn: "git.mgrote.net"
|
|||
gitea_ssh_port: 2222
|
||||
gitea_start_ssh: true
|
||||
gitea_shell: "/bin/false"
|
||||
# Repository
|
||||
# repository
|
||||
gitea_repository_extra_config: |
|
||||
[repository]
|
||||
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true
|
||||
gitea_default_branch: "master"
|
||||
gitea_default_private: "public"
|
||||
gitea_repository_root: "{{ gitea_home }}/repos"
|
||||
|
@ -129,17 +132,12 @@ gitea_packages_enabled: false
|
|||
# actions
|
||||
gitea_actions_enabled: true
|
||||
gitea_extra_config: |
|
||||
; webhook: wird für drone benötigt, sonst wird der Webhook nicht "gesendet"
|
||||
[webhook]
|
||||
ALLOWED_HOST_LIST = *.mgrote.net
|
||||
; für Import/Migration aus anderen Git-Systemen
|
||||
[migrations]
|
||||
ALLOWED_DOMAINS = *
|
||||
; disabled; see: https://github.com/go-gitea/gitea/issues/25992
|
||||
[repo-archive]
|
||||
ENABLED = false
|
||||
[repository]
|
||||
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true
|
||||
# oauth2
|
||||
gitea_oauth2_jwt_secret: "{{ lookup('viczem.keepass.keepass', 'forgejo_oauth2_jwt_secret', 'password') }}"
|
||||
# Fail2Ban configuration
|
||||
|
|
BIN
keepass_db.kdbx
BIN
keepass_db.kdbx
Binary file not shown.
Loading…
Reference in a new issue