Skip to content

Commit

Permalink
set git.HOME_PATH for docker images to default HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Jul 4, 2022
1 parent 1a386b7 commit f120101
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/root/etc/templates/app.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW

[lfs]
PATH = /data/git/lfs

[git]
HOME_PATH = /data/git
3 changes: 3 additions & 0 deletions docker/rootless/etc/templates/app.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW

[lfs]
PATH = $GITEA_WORK_DIR/git/lfs

[git]
HOME_PATH = $GITEA_WORK_DIR/git

0 comments on commit f120101

Please sign in to comment.