Skip to content

Commit 823318b

Browse files
twang2218techknowlogick
authored andcommitted
Add missing path in the Docker app.ini template (#2181)
1 parent 5676f60 commit 823318b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ CMD ["/bin/s6-svscan", "/etc/s6"]
5858

5959
COPY docker /
6060
COPY --from=build-env /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
61+
RUN ln -s /usr/local/bin/gitea /app/gitea/gitea

docker/etc/templates/app.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ RUN_MODE = $RUN_MODE
44
[repository]
55
ROOT = /data/git/repositories
66

7+
[repository.local]
8+
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
9+
710
[repository.upload]
811
TEMP_PATH = /data/gitea/uploads
912

@@ -14,6 +17,7 @@ HTTP_PORT = $HTTP_PORT
1417
ROOT_URL = $ROOT_URL
1518
DISABLE_SSH = $DISABLE_SSH
1619
SSH_PORT = $SSH_PORT
20+
LFS_CONTENT_PATH = /data/git/lfs
1721

1822
[database]
1923
PATH = /data/gitea/gitea.db
@@ -23,6 +27,9 @@ NAME = $DB_NAME
2327
USER = $DB_USER
2428
PASSWD = $DB_PASSWD
2529

30+
[indexer]
31+
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
32+
2633
[session]
2734
PROVIDER_CONFIG = /data/gitea/sessions
2835

0 commit comments

Comments
 (0)