From a5eab238755d38dfb678c43adfa539a6cf434380 Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Sun, 26 Nov 2023 17:32:35 +0100 Subject: [PATCH] Further updates to forgejo config --- defaults/main.yml | 3 ++- templates/app.ini.j2 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 6f494ba..4b17ef5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -5,4 +5,5 @@ forgejo_version: 1.18.0-1 forgejo_ssh_port: 2222 forgejo_repositories_path: /home/git/repos forgejo_lfs_path: /home/git/lfs -forgejo_storage_path: /home/git/storage \ No newline at end of file +forgejo_storage_path: /home/git/storage +forgejo_work_path: /var/lib/forgejo \ No newline at end of file diff --git a/templates/app.ini.j2 b/templates/app.ini.j2 index a1b951a..ea8a34f 100644 --- a/templates/app.ini.j2 +++ b/templates/app.ini.j2 @@ -1,6 +1,7 @@ APP_NAME = Forgejo RUN_USER = git RUN_MODE = prod +WORK_PATH = {{ forgejo_work_path }} [security] INTERNAL_TOKEN = {{ forgejo_internal_token }} @@ -67,4 +68,4 @@ PROVIDER = file MODE = console LEVEL = info ROOT_PATH = /var/lib/forgejo/log -ROUTER = console \ No newline at end of file +logger.router.MODE = console \ No newline at end of file