Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 19:26:09 +01:00

Fix ordering in app.ini and fix run mode option (#2829)

This commit is contained in:
Morlinest 2017-11-02 22:08:21 +01:00 committed by Lauris BH
parent f70758dec9
commit 529f9d03ce
2 changed files with 4 additions and 3 deletions

View file

@ -21,7 +21,7 @@ if [ ! -f /data/gitea/conf/app.ini ]; then
# Substitude the environment variables in the template
APP_NAME=${APP_NAME:-"Gitea: Git with a cup of tea"} \
APP_MODE=${APP_MODE:-"dev"} \
RUN_MODE=${RUN_MODE:-"dev"} \
SSH_DOMAIN=${SSH_DOMAIN:-"localhost"} \
HTTP_PORT=${HTTP_PORT:-"3000"} \
ROOT_URL=${ROOT_URL:-""} \

View file

@ -1,6 +1,7 @@
[repository]
APP_NAME = $APP_NAME
APP_MODE = $APP_MODE
RUN_MODE = $RUN_MODE
[repository]
ROOT = /data/git/repositories
[repository.upload]