From 44b9b56cf21e8f42b13e4f7135fecfc9b70ab9cc Mon Sep 17 00:00:00 2001 From: KsmoinO <99479-KsmoinO@users.noreply.framagit.org> Date: Sat, 19 Nov 2022 21:58:31 +0100 Subject: [PATCH] HedgeDoc - Fix 18/x --- podman-hedgedoc/10_install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/podman-hedgedoc/10_install.sh b/podman-hedgedoc/10_install.sh index 5fecc28..434d804 100755 --- a/podman-hedgedoc/10_install.sh +++ b/podman-hedgedoc/10_install.sh @@ -32,8 +32,14 @@ NODE_ENV=production DEBUG=false ## HedgeDoc basics #CMD_CONFIG_FILE=/data/config.json +CMD_DB_USERNAME=hedgedoc +CMD_DB_PASSWORD=${GARBAYE_HEDGEDOC_DATABASE_PASSWORD} +CMD_DB_DATABASE=hedgedoc +CMD_DB_HOST=database +CMD_DB_PORT=5432 +CMD_DB_DIALECT=postgres #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=postgres://hedgedoc:${GARBAYE_HEDGEDOC_DATABASE_PASSWORD}@database:5432/hedgedoc #CMD_DB_URL=CMD_DB_URL=mysql://hedgedoc:${GARBAYE_HEDGEDOC_DATABASE_PASSWORD}@database:3306/hedgedoc CMD_IMAGE_UPLOAD_TYPE=filesystem ## HedgeDoc Location