Set GITEA_CUSTOM

This commit is contained in:
Girish Ramakrishnan 2018-08-02 09:41:19 -07:00
parent 18b3ae6bc2
commit b16095eef5
2 changed files with 2 additions and 3 deletions

View file

@ -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" log ROOT_PATH "/run/gitea"
crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve" crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve"
mkdir -p /app/data/repository /app/data/ssh /app/data/custom
mkdir -p /app/data/repository /app/data/ssh
chown -R git:git /app/data /run/gitea chown -R git:git /app/data /run/gitea

View file

@ -9,4 +9,4 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0 stderr_logfile_maxbytes=0
environment=HOME="/home/git",USER="git" environment=HOME="/home/git",USER="git",GITEA_CUSTOM="/app/data/custom"