Workflow update

main
technorabilia 2 years ago
parent e79d127601
commit 8817d48f99

@ -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

@ -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 \

@ -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

@ -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 \

Loading…
Cancel
Save