From ff22f76c902fac454049de193820f68b7742cf72 Mon Sep 17 00:00:00 2001 From: technorabilia Date: Thu, 10 Feb 2022 00:37:02 +0000 Subject: [PATCH] Workflow update --- lsio/hedgedoc/docker-compose.yaml | 2 ++ lsio/hedgedoc/docker-run.sh | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lsio/hedgedoc/docker-compose.yaml b/lsio/hedgedoc/docker-compose.yaml index 2b2b265..211f1b1 100644 --- a/lsio/hedgedoc/docker-compose.yaml +++ b/lsio/hedgedoc/docker-compose.yaml @@ -39,6 +39,8 @@ services: - TZ=Europe/London - CMD_DOMAIN=localhost - CMD_URL_ADDPORT=true #optional + - CMD_PROTOCOL_USESSL=false #optional + - CMD_PORT=3000 #optional ports: - "3000:3000" diff --git a/lsio/hedgedoc/docker-run.sh b/lsio/hedgedoc/docker-run.sh index 6cd543e..33817c2 100644 --- a/lsio/hedgedoc/docker-run.sh +++ b/lsio/hedgedoc/docker-run.sh @@ -18,7 +18,8 @@ docker run -d \ -e CMD_DOMAIN=localhost `# The address the gui will be accessed at (ie. `192.168.1.1` or `hedgedoc.domain.com`).` \ -e CMD_URL_ADDPORT=true `# optional` `# Set to `false` if accessing at port `80` or `443`.` \ -e CMD_PROTOCOL_USESSL=false `# optional` `# Set to `true` if accessing over https via reverse proxy.` \ - -p 3000:3000 `# If you wish to access this container from http://{IP}:${PORT}` this *must* be left unchanged.` \ + -e CMD_PORT=3000 `# optional` `# If you wish to access hedgedoc at a port different than 80, 443 or 3000, you need to set this to that port (ie. `CMD_PORT=5000`) and change the port mapping accordingly (5000:5000).` \ + -p 3000:3000 `# Web gui port (internal port also needs to be changed if accessing at port other than 80, 443 and 3000).` \ -v ${BASEDIR:-/volume1/docker}/hedgedoc/config:/config `# HedgeDoc config and configurable files` \ --restart unless-stopped \ ghcr.io/linuxserver/hedgedoc