From fae6a34e8f0af7b4efecc8e273be0835623dbea2 Mon Sep 17 00:00:00 2001 From: KsmoinO <99479-KsmoinO@users.noreply.framagit.org> Date: Sun, 20 Nov 2022 00:02:55 +0100 Subject: [PATCH] HedgeDoc Corrections de variables pour rendu --- podman-hedgedoc/10_install.sh | 3 ++- podman-hedgedoc/docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/podman-hedgedoc/10_install.sh b/podman-hedgedoc/10_install.sh index 764fa6a..6bbe94f 100755 --- a/podman-hedgedoc/10_install.sh +++ b/podman-hedgedoc/10_install.sh @@ -43,7 +43,8 @@ CMD_DB_DIALECT=${database_dialect} #CMD_DB_URL=CMD_DB_URL=mysql://hedgedoc:${GARBAYE_HEDGEDOC_DATABASE_PASSWORD}@database:3306/hedgedoc CMD_IMAGE_UPLOAD_TYPE=filesystem ## HedgeDoc Location -CMD_DOMAIN=localhost +CMD_DOMAIN=${GARBAYE_HEDGEDOC_DOMAIN} +CMD_PROTOCOL_USESSL=true CMD_URL_ADDPORT=true CMD_ALLOW_ORIGIN=["localhost","${GARBAYE_HEDGEDOC_DOMAIN}"] ## Web security aspects diff --git a/podman-hedgedoc/docker-compose.yml b/podman-hedgedoc/docker-compose.yml index e2aa943..cc90abd 100644 --- a/podman-hedgedoc/docker-compose.yml +++ b/podman-hedgedoc/docker-compose.yml @@ -93,7 +93,7 @@ services: # local reverse proxy, you may want to listen on 127.0.0.1. # Example: # - "127.0.0.1:3000:3000" - - "3000:3000" + - "127.0.0.1:8089:3000" networks: backend: #restart: always