]> source.dussan.org Git - gitea.git/commitdiff
Fix ordering in app.ini and fix run mode option (#2829)
authorMorlinest <morlinest@gmail.com>
Thu, 2 Nov 2017 21:08:21 +0000 (22:08 +0100)
committerLauris BH <lauris@nix.lv>
Thu, 2 Nov 2017 21:08:21 +0000 (23:08 +0200)
docker/etc/s6/gitea/setup
docker/etc/templates/app.ini

index 30884bc4117156e1eea812985498a58e62fd19ed..e6dd3ffa2b55b5b53ddf600480353211bf23754e 100755 (executable)
@@ -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:-""} \
index 0dcf41be1481e711276448e56350257f90786d65..2375f8f533a9a49b651422528e4572f395bf489f 100644 (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]