Skip to content

Commit 529f9d0

Browse files
Morlinestlafriks
authored andcommitted
Fix ordering in app.ini and fix run mode option (#2829)
1 parent f70758d commit 529f9d0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docker/etc/s6/gitea/setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [ ! -f /data/gitea/conf/app.ini ]; then
2121

2222
# Substitude the environment variables in the template
2323
APP_NAME=${APP_NAME:-"Gitea: Git with a cup of tea"} \
24-
APP_MODE=${APP_MODE:-"dev"} \
24+
RUN_MODE=${RUN_MODE:-"dev"} \
2525
SSH_DOMAIN=${SSH_DOMAIN:-"localhost"} \
2626
HTTP_PORT=${HTTP_PORT:-"3000"} \
2727
ROOT_URL=${ROOT_URL:-""} \

docker/etc/templates/app.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[repository]
21
APP_NAME = $APP_NAME
3-
APP_MODE = $APP_MODE
2+
RUN_MODE = $RUN_MODE
3+
4+
[repository]
45
ROOT = /data/git/repositories
56

67
[repository.upload]

0 commit comments

Comments
 (0)