From 53d5caa291e560648a347cd2419a9e6812eeca35 Mon Sep 17 00:00:00 2001 From: <> Date: Fri, 23 Dec 2022 16:20:58 +0000 Subject: [PATCH] Deployed b57c3c0b with MkDocs version: 1.4.2 --- images/docker-healthchecks/index.html | 18 +- search/search_index.json | 2 +- sitemap.xml | 410 +++++++++++++------------- sitemap.xml.gz | Bin 1547 -> 1548 bytes 4 files changed, 218 insertions(+), 212 deletions(-) diff --git a/images/docker-healthchecks/index.html b/images/docker-healthchecks/index.html index 64151bb1a5..c42155debb 100644 --- a/images/docker-healthchecks/index.html +++ b/images/docker-healthchecks/index.html @@ -18,15 +18,18 @@ services: - SUPERUSER_EMAIL= - SUPERUSER_PASSWORD= - REGENERATE_SETTINGS= #optional - - SITE_LOGO_URL= #optional - ALLOWED_HOSTS= #optional - - SECRET_KEY= #optional - APPRISE_ENABLED= #optional - DEBUG= #optional + - INTEGRATIONS_ALLOW_PRIVATE_IPS= #optional + - PING_EMAIL_DOMAIN= #optional + - SECRET_KEY= #optional + - SITE_LOGO_URL= #optional volumes: - /path/to/data:/config ports: - 8000:8000 + - 2525:2525 #optional restart: unless-stopped
docker run -d \
--name=healthchecks \
@@ -43,16 +46,19 @@ services:
-e SUPERUSER_EMAIL= \
-e SUPERUSER_PASSWORD= \
-e REGENERATE_SETTINGS= `#optional` \
- -e SITE_LOGO_URL= `#optional` \
-e ALLOWED_HOSTS= `#optional` \
- -e SECRET_KEY= `#optional` \
-e APPRISE_ENABLED= `#optional` \
-e DEBUG= `#optional` \
+ -e INTEGRATIONS_ALLOW_PRIVATE_IPS= `#optional` \
+ -e PING_EMAIL_DOMAIN= `#optional` \
+ -e SECRET_KEY= `#optional` \
+ -e SITE_LOGO_URL= `#optional` \
-p 8000:8000 \
+ -p 2525:2525 `#optional` \
-v /path/to/data:/config \
--restart unless-stopped \
lscr.io/linuxserver/healthchecks:latest
-
Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal>
respectively. For example, -p 8080:80
would expose port 80
from inside the container to be accessible from the host's IP on port 8080
outside the container.
-p
)Parameter | Function |
---|---|
8000 | will map the container's port 8000 to port 8000 on the host |
-e
)Env | Function |
---|---|
PUID=1000 | for UserID - see below for explanation |
PGID=1000 | for GroupID - see below for explanation |
SITE_ROOT= | The site's top-level URL and the port it listens to if differrent than 80 or 443 (e.g., https://healthchecks.example.com:8000) |
SITE_NAME= | The site's name (e.g., "Example Corp HealthChecks") |
DEFAULT_FROM_EMAIL= | From email for alerts |
EMAIL_HOST= | SMTP host |
EMAIL_PORT= | SMTP port |
EMAIL_HOST_USER= | SMTP user |
EMAIL_HOST_PASSWORD= | SMTP password |
EMAIL_USE_TLS= | Use TLS for SMTP (True or False ) |
SUPERUSER_EMAIL= | Superuser email |
SUPERUSER_PASSWORD= | Superuser password |
REGENERATE_SETTINGS= | Defaults to False. Set to true to always override the local_settings.py file with values from environment variables. Do not set to True if you have made manual modifications to this file. |
SITE_LOGO_URL= | Full URL to custom site logo |
ALLOWED_HOSTS= | Array of valid hostnames for the server ["test.com","test2.com"] (default: ["*"] ) |
SECRET_KEY= | A secret key used for cryptographic signing. Will generate a secure value if one is not supplied |
APPRISE_ENABLED= | Defaults to False. A boolean that turns on/off the Apprise integration (https://github.com/caronc/apprise) |
DEBUG= | 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. |
-v
)Volume | Function |
---|---|
/config | Database and healthchecks config directory |
Parameter | Function |
---|---|
You can set any environment variable from a file by using a special prepend FILE__
.
As an example:
-e FILE__PASSWORD=/run/secrets/mysecretpassword
+
Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal>
respectively. For example, -p 8080:80
would expose port 80
from inside the container to be accessible from the host's IP on port 8080
outside the container.
-p
)Parameter | Function |
---|---|
8000 | Healthchecks Web UI |
2525 | Port for inbound SMTP pings |
-e
)Env | Function |
---|---|
PUID=1000 | for UserID - see below for explanation |
PGID=1000 | for GroupID - see below for explanation |
SITE_ROOT= | The site's top-level URL and the port it listens to if differrent than 80 or 443 (e.g., https://healthchecks.example.com:8000) |
SITE_NAME= | The site's name (e.g., "Example Corp HealthChecks") |
DEFAULT_FROM_EMAIL= | From email for alerts |
EMAIL_HOST= | SMTP host |
EMAIL_PORT= | SMTP port |
EMAIL_HOST_USER= | SMTP user |
EMAIL_HOST_PASSWORD= | SMTP password |
EMAIL_USE_TLS= | Use TLS for SMTP (True or False ) |
SUPERUSER_EMAIL= | Superuser email |
SUPERUSER_PASSWORD= | Superuser password |
REGENERATE_SETTINGS= | Defaults to False. Set to True to always override the local_settings.py file with values from environment variables. Do not set to True if you have made manual modifications to this file. |
ALLOWED_HOSTS= | Array of valid hostnames for the server ["test.com","test2.com"] (default: ["*"] ) |
APPRISE_ENABLED= | Defaults to False. A boolean that turns on/off the Apprise integration (https://github.com/caronc/apprise) |
DEBUG= | 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. |
INTEGRATIONS_ALLOW_PRIVATE_IPS= | Defaults to False. Set to True to allow integrations to connect to private IP addresses. |
PING_EMAIL_DOMAIN= | The domain to use for generating ping email addresses. |
SECRET_KEY= | A secret key used for cryptographic signing. Will generate a secure value if one is not supplied |
SITE_LOGO_URL= | Full URL to custom site logo |
-v
)Volume | Function |
---|---|
/config | Database and healthchecks config directory |
Parameter | Function |
---|---|
You can set any environment variable from a file by using a special prepend FILE__
.
As an example:
-e FILE__PASSWORD=/run/secrets/mysecretpassword
Will set the environment variable PASSWORD
based on the contents of the /run/secrets/mysecretpassword
file.
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022
setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up here before asking for support.
When using volumes (-v
flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID
and group PGID
.
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
In this instance PUID=1000
and PGID=1000
, to find yours use id user
as below:
$ id username
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
-
We publish various Docker Mods to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
docker exec -it healthchecks /bin/bash
docker logs -f healthchecks
docker inspect -f '{{ index .Config.Labels "build_version" }}' healthchecks
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/healthchecks:latest
git pull
is now in Dockerfile so each tagged container contains the same code versionlocal_settings.py
output