From 823318bfbe9a61fb09a4c8e6da68c7daab1bd35c Mon Sep 17 00:00:00 2001 From: Tao Wang Date: Wed, 4 Jul 2018 10:44:46 +1000 Subject: [PATCH] Add missing path in the Docker app.ini template (#2181) --- Dockerfile | 1 + docker/etc/templates/app.ini | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8e3516418b..eb790491c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,3 +58,4 @@ CMD ["/bin/s6-svscan", "/etc/s6"] COPY docker / COPY --from=build-env /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea +RUN ln -s /usr/local/bin/gitea /app/gitea/gitea diff --git a/docker/etc/templates/app.ini b/docker/etc/templates/app.ini index 9e0a3dd5c8..589271b4a0 100644 --- a/docker/etc/templates/app.ini +++ b/docker/etc/templates/app.ini @@ -4,6 +4,9 @@ RUN_MODE = $RUN_MODE [repository] ROOT = /data/git/repositories +[repository.local] +LOCAL_COPY_PATH = /data/gitea/tmp/local-repo + [repository.upload] TEMP_PATH = /data/gitea/uploads @@ -14,6 +17,7 @@ HTTP_PORT = $HTTP_PORT ROOT_URL = $ROOT_URL DISABLE_SSH = $DISABLE_SSH SSH_PORT = $SSH_PORT +LFS_CONTENT_PATH = /data/git/lfs [database] PATH = /data/gitea/gitea.db @@ -23,6 +27,9 @@ NAME = $DB_NAME USER = $DB_USER PASSWD = $DB_PASSWD +[indexer] +ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve + [session] PROVIDER_CONFIG = /data/gitea/sessions