HedgeDoc - Fix 4/x

This commit is contained in:
KsmoinO 2022-11-19 14:53:24 +01:00
parent cc6e3dc072
commit 4cea4eea6a
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ if podman volume exists ${uploadsvolume} ; then
fi
podman volume create ${dbvolume}
podman volume create ${datavolume}
podman volume create ${uploadsvolume}
podman volume create ${datavolume} && podman unshare chown 10000 `get_podman_volume_path ${datavolume}
podman volume create ${uploadsvolume} && podman unshare chown 10000 `get_podman_volume_path ${uploadsvolume}
${ABSDIR}/10_install.sh

View file

@ -31,7 +31,7 @@ cat <<EOT >> .env
NODE_ENV=production
DEBUG=false
## HedgeDoc basics
CMD_CONFIG_FILE=/data/config.json
#CMD_CONFIG_FILE=/data/config.json
CMD_DB_URL=sqlite:///data/sqlite.db
#CMD_DB_URL=CMD_DB_URL=postgres://hedgedoc:${GARBAYE_HEDGEDOC_DATABASE_PASSWORD}@database:5432/hedgedoc
#CMD_DB_URL=CMD_DB_URL=mysql://hedgedoc:${GARBAYE_HEDGEDOC_DATABASE_PASSWORD}@database:3306/hedgedoc