Forráskód Böngészése

[README] Add gogs conf preparation

M. Sonntag 1 éve
szülő
commit
252c3eb2f6
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -205,6 +205,7 @@ DIR_GINDATA=$DIR_GINROOT/gindata
 # The content of this file is displayed on the GIN page without a service restart e.g.
 #  to inform users of an upcoming service downtime.
 mkdir -vp $DIR_GINCONFIG/gogs/notice
+mkdir -vp $DIR_GINCONFIG/gogs/conf
 mkdir -vp $DIR_GINCONFIG/postgres
 
 mkdir -vp $DIR_GINVOLUMES/ginweb
@@ -219,6 +220,9 @@ echo "COMPOSE_PROJECT_NAME=gin" > $DIR_GINROOT/gin-dockerfile/.env
 
 # Create postgres secret file
 echo "POSTGRES_PASSWORD=${PGRES_PASS}" > $DIR_GINCONFIG/postgres/pgressecrets.env
+
+# make sure an empty gogs config file is available; technically only required for previous versions of gogs
+touch $DIR_GINCONFIG/gogs/conf/app.ini
 ```
 
 If the user running the docker containers is not the `ginuser`, it might be worth adding this user to both the `docker`