From b16095eef57520d8d55fbf64c12549df1b58b7d5 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 2 Aug 2018 09:41:19 -0700 Subject: [PATCH] Set GITEA_CUSTOM --- start.sh | 3 +-- supervisor/gitea.conf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/start.sh b/start.sh index fe0ce12..5caeedc 100755 --- a/start.sh +++ b/start.sh @@ -97,8 +97,7 @@ crudini --set "/run/gitea/app.ini" log MODE "console" crudini --set "/run/gitea/app.ini" log ROOT_PATH "/run/gitea" crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve" - -mkdir -p /app/data/repository /app/data/ssh +mkdir -p /app/data/repository /app/data/ssh /app/data/custom chown -R git:git /app/data /run/gitea diff --git a/supervisor/gitea.conf b/supervisor/gitea.conf index d85a788..95e1e37 100644 --- a/supervisor/gitea.conf +++ b/supervisor/gitea.conf @@ -9,4 +9,4 @@ stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 -environment=HOME="/home/git",USER="git" +environment=HOME="/home/git",USER="git",GITEA_CUSTOM="/app/data/custom"