|
@@ -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`
|