From d725832c82386838ba843ca4678e750cf8968059 Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Sun, 26 Nov 2023 17:26:10 +0100 Subject: [PATCH] Update forgejo config --- defaults/main.yml | 3 ++- templates/app.ini.j2 | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 21fada8..6f494ba 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -4,4 +4,5 @@ forgejo_os_supported: False forgejo_version: 1.18.0-1 forgejo_ssh_port: 2222 forgejo_repositories_path: /home/git/repos -forgejo_lfs_path: /home/git/lfs \ No newline at end of file +forgejo_lfs_path: /home/git/lfs +forgejo_storage_path: /home/git/storage \ No newline at end of file diff --git a/templates/app.ini.j2 b/templates/app.ini.j2 index abd8f9b..a1b951a 100644 --- a/templates/app.ini.j2 +++ b/templates/app.ini.j2 @@ -30,10 +30,13 @@ ROOT_URL = https://{{ forgejo_domain }}/ DISABLE_SSH = false SSH_PORT = {{ forgejo_ssh_port }} LFS_START_SERVER = true -LFS_CONTENT_PATH = {{ forgejo_lfs_path }} LFS_JWT_SECRET = {{ forgejo_lfs_jwt_secret }} OFFLINE_MODE = false +[storage] +STORAGE_TYPE = local +PATH = {{ forgejo_storage_path }} + [mailer] ENABLED = false