Set GITEA_CUSTOM
This commit is contained in:
parent
18b3ae6bc2
commit
b16095eef5
3
start.sh
3
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" 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
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue