Skip to content

Commit f120101

Browse files
committed
set git.HOME_PATH for docker images to default HOME
1 parent 1a386b7 commit f120101

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docker/root/etc/templates/app.ini

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW
6161

6262
[lfs]
6363
PATH = /data/git/lfs
64+
65+
[git]
66+
HOME_PATH = /data/git

docker/rootless/etc/templates/app.ini

+3
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW
5757

5858
[lfs]
5959
PATH = $GITEA_WORK_DIR/git/lfs
60+
61+
[git]
62+
HOME_PATH = $GITEA_WORK_DIR/git

0 commit comments

Comments
 (0)