diff --git a/states/gitea/defaults.yaml b/states/gitea/defaults.yaml index 1906f1b..7ed1f85 100644 --- a/states/gitea/defaults.yaml +++ b/states/gitea/defaults.yaml @@ -12,6 +12,7 @@ gitea: app_name: Gitea - Git with a cup of tea run_user: git run_mode: prod + work_path: /var/lib/gitea database: db_type: postgres host: 127.0.0.1:5432 @@ -33,10 +34,11 @@ gitea: ssh_listen_port: 2222 offline_mode: "false" lfs_start_server: "false" - lfs_content_path: data/lfs lfs_jwt_secret: createYourOwnJWTSecret enable_gzip: "false" landing_page: home + lfs: + path: data/lfs cache: enabled: "true" adapter: redis @@ -78,7 +80,7 @@ gitea: cookie_name: i_like_gitea log: root_path: /var/log/gitea - disable_router_log: true + #disable_router_log: true mode: file level: info security: diff --git a/states/gitea/templates/app.ini.j2 b/states/gitea/templates/app.ini.j2 index edf9b87..f81c526 100644 --- a/states/gitea/templates/app.ini.j2 +++ b/states/gitea/templates/app.ini.j2 @@ -11,4 +11,4 @@ {{ subkey|upper() }} = {{ subval }} {% endfor -%} {% endif %} -{% endfor -%} +{%- endfor %}