summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-23 19:02:29 +0000
committerGitHub <noreply@github.com>2022-01-23 20:02:29 +0100
commit5e5740af69cb0f44ff0c1576a2387388d75bb4c2 (patch)
treefdfcbe4f67d1de3c5c567beb6e03a551954b2047 /docker
parent8472884cefc4a52d7e383648b3591392bd9b6e4c (diff)
downloadgitea-5e5740af69cb0f44ff0c1576a2387388d75bb4c2.tar.gz
gitea-5e5740af69cb0f44ff0c1576a2387388d75bb4c2.zip
Switch to non-deprecation setting (#18358)
* Switch to non-deprecation setting (Avoid by-default: "Deprecated fallback `[server]` `LFS_CONTENT_PATH` present. Use `[lfs]` `PATH` instead. This fallback will be removed in v1.18.0") * Update all references
Diffstat (limited to 'docker')
-rw-r--r--docker/root/etc/templates/app.ini4
-rw-r--r--docker/rootless/etc/templates/app.ini4
2 files changed, 6 insertions, 2 deletions
diff --git a/docker/root/etc/templates/app.ini b/docker/root/etc/templates/app.ini
index c5212a9358..7e8aa0bd0a 100644
--- a/docker/root/etc/templates/app.ini
+++ b/docker/root/etc/templates/app.ini
@@ -20,7 +20,6 @@ DISABLE_SSH = $DISABLE_SSH
SSH_PORT = $SSH_PORT
SSH_LISTEN_PORT = $SSH_LISTEN_PORT
LFS_START_SERVER = $LFS_START_SERVER
-LFS_CONTENT_PATH = /data/git/lfs
[database]
PATH = /data/gitea/gitea.db
@@ -59,3 +58,6 @@ REVERSE_PROXY_TRUSTED_PROXIES = *
[service]
DISABLE_REGISTRATION = $DISABLE_REGISTRATION
REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW
+
+[lfs]
+PATH = /data/git/lfs
diff --git a/docker/rootless/etc/templates/app.ini b/docker/rootless/etc/templates/app.ini
index 905b2adb33..f106f01f5e 100644
--- a/docker/rootless/etc/templates/app.ini
+++ b/docker/rootless/etc/templates/app.ini
@@ -23,7 +23,6 @@ SSH_PORT = $SSH_PORT
SSH_LISTEN_PORT = $SSH_LISTEN_PORT
BUILTIN_SSH_SERVER_USER = $RUN_USER
LFS_START_SERVER = $LFS_START_SERVER
-LFS_CONTENT_PATH = $GITEA_WORK_DIR/git/lfs
[database]
PATH = $GITEA_WORK_DIR/data/gitea.db
@@ -55,3 +54,6 @@ REVERSE_PROXY_TRUSTED_PROXIES = *
[service]
DISABLE_REGISTRATION = $DISABLE_REGISTRATION
REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW
+
+[lfs]
+PATH = $GITEA_WORK_DIR/git/lfs