From 8817d48f99ddc2bb97eb740d25284a910c332aa5 Mon Sep 17 00:00:00 2001 From: technorabilia Date: Fri, 4 Nov 2022 01:06:58 +0000 Subject: [PATCH] Workflow update --- lsio/healthchecks/docker-compose.yaml | 2 ++ lsio/healthchecks/docker-run.sh | 1 + lsio/hedgedoc/docker-compose.yaml | 2 ++ lsio/hedgedoc/docker-run.sh | 1 + 4 files changed, 6 insertions(+) diff --git a/lsio/healthchecks/docker-compose.yaml b/lsio/healthchecks/docker-compose.yaml index abc13d8..6ab97c6 100644 --- a/lsio/healthchecks/docker-compose.yaml +++ b/lsio/healthchecks/docker-compose.yaml @@ -43,6 +43,8 @@ services: - SECRET_KEY= # optional # Defaults to False. A boolean that turns on/off the Apprise integration (https://github.com/caronc/apprise) - APPRISE_ENABLED= # optional + # Defaults to True. Debug mode relaxes CSRF protections and increases logging verbosity but should be disabled for production instances as it will impact performance and security. + - DEBUG= # optional volumes: # Database and healthchecks config directory - ${BASEDIR:-/volume1/docker}/healthchecks/config:/config diff --git a/lsio/healthchecks/docker-run.sh b/lsio/healthchecks/docker-run.sh index 8dd8076..8c79518 100644 --- a/lsio/healthchecks/docker-run.sh +++ b/lsio/healthchecks/docker-run.sh @@ -22,6 +22,7 @@ docker run -d \ -e ALLOWED_HOSTS= `# optional` `# Array of valid hostnames for the server `["test.com","test2.com"]` (default: `["*"]`)` \ -e SECRET_KEY= `# optional` `# A secret key used for cryptographic signing. Will generate a secure value if one is not supplied` \ -e APPRISE_ENABLED= `# optional` `# Defaults to False. A boolean that turns on/off the Apprise integration (https://github.com/caronc/apprise)` \ + -e DEBUG= `# optional` `# Defaults to True. Debug mode relaxes CSRF protections and increases logging verbosity but should be disabled for production instances as it will impact performance and security.` \ -p 8000:8000 `# will map the container's port 8000 to port 8000 on the host` \ -v ${BASEDIR:-/volume1/docker}/healthchecks/config:/config `# Database and healthchecks config directory` \ --restart unless-stopped \ diff --git a/lsio/hedgedoc/docker-compose.yaml b/lsio/hedgedoc/docker-compose.yaml index ff7295a..ad22114 100644 --- a/lsio/hedgedoc/docker-compose.yaml +++ b/lsio/hedgedoc/docker-compose.yaml @@ -35,6 +35,8 @@ services: - CMD_PROTOCOL_USESSL=false # 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). - CMD_PORT=3000 # optional + # Comma-separated list of allowed hostnames + - CMD_ALLOW_ORIGIN=['localhost'] # optional volumes: # HedgeDoc config and configurable files - ${BASEDIR:-/volume1/docker}/hedgedoc/config:/config diff --git a/lsio/hedgedoc/docker-run.sh b/lsio/hedgedoc/docker-run.sh index 50e9846..b310b62 100644 --- a/lsio/hedgedoc/docker-run.sh +++ b/lsio/hedgedoc/docker-run.sh @@ -19,6 +19,7 @@ docker run -d \ -e CMD_URL_ADDPORT=false `# optional` `# Set to `true` if using a port other than `80` or `443`.` \ -e CMD_PROTOCOL_USESSL=false `# optional` `# Set to `true` if accessing over https via reverse proxy.` \ -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).` \ + -e CMD_ALLOW_ORIGIN=['localhost'] `# optional` `# Comma-separated list of allowed hostnames` \ -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 \