1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

Add config option to set repository path different to home_path

This commit is contained in:
Leo Maroni 2020-05-18 23:37:17 +02:00 committed by Thomas Maurice
parent 349d9dff4f
commit 8506ca4f2b
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ gitea_user: "gitea"
gitea_home: "/var/lib/gitea"
gitea_shell: "/bin/false"
gitea_repository_root: "{{ gitea_home }}"
gitea_user_repo_limit: -1
gitea_http_domain: localhost

View file

@ -13,7 +13,7 @@ RUN_USER = {{ gitea_user }}
RUN_MODE = prod
[repository]
ROOT = {{ gitea_home }}
ROOT = {{ gitea_repository_root }}
; Force every new repository to be private
FORCE_PRIVATE = {{ gitea_force_private }}
; Global limit of repositories per user, applied at creation time. -1 means no limit