You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.8 KiB
YAML

3 years ago
# [Healthchecks](https://github.com/healthchecks/healthchecks) is a watchdog for
# your cron jobs. It's a web server that listens for pings from your cron jobs,
# plus a web interface.
3 years ago
---
version: "2.1"
services:
healthchecks:
image: ghcr.io/linuxserver/healthchecks
container_name: healthchecks
environment:
# for UserID
2 years ago
- PUID=${PUID:-1024}
# for GroupID
3 years ago
- PGID=${PGID:-100}
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
- TZ=${TZ:-Europe/Amsterdam}
4 months ago
# The site's top-level URL and the port it listens to if different than 80 or 443 (e.g., https://healthchecks.example.com:8000).
2 years ago
- SITE_ROOT=
4 months ago
# The site's name (e.g., "Example Corp HealthChecks").
2 years ago
- SITE_NAME=
4 months ago
# Superuser email.
2 years ago
- SUPERUSER_EMAIL=
4 months ago
# Superuser password.
2 years ago
- SUPERUSER_PASSWORD=
4 months ago
# A comma-separated list of valid hostnames for the server. Default is: `*`.
2 years ago
- ALLOWED_HOSTS= # optional
4 months ago
# Set to `True` to enable the Apprise integration (https://github.com/caronc/apprise).
- APPRISE_ENABLED=False # optional
4 months ago
# A [list](https://docs.python.org/3/tutorial/introduction.html#lists) of trusted origins for unsafe requests (e.g. POST). Defaults to the value of `SITE_ROOT`.
- CSRF_TRUSTED_ORIGINS= # optional
4 months ago
# Set to `False` to disable. Debug mode relaxes CSRF protections and increases logging verbosity but should be disabled for production instances as it will impact performance and security.
- DEBUG=True # optional
# From email for alerts.
- DEFAULT_FROM_EMAIL= # optional
# SMTP host.
- EMAIL_HOST= # optional
# SMTP port.
- EMAIL_PORT= # optional
# SMTP user.
- EMAIL_HOST_USER= # optional
# SMTP password.
- EMAIL_HOST_PASSWORD= # optional
# Use TLS for SMTP (`True` or `False`).
- EMAIL_USE_TLS= # optional
# Defaults to False. Set to True to allow integrations to connect to private IP addresses.
- INTEGRATIONS_ALLOW_PRIVATE_IPS= # optional
4 months ago
# The domain to use for generating ping email addresses. Defaults to `localhost`.
- PING_EMAIL_DOMAIN= # optional
4 months ago
# If using webauthn for 2FA set this to match your Healthchecks domain. Webauthn will only work over https.
- RP_ID= # optional
# A secret key used for cryptographic signing. Will generate a random value if one is not supplied and save it to `/config/local_settings.py`.
- SECRET_KEY= # optional
4 months ago
# Full URL to custom site logo.
- SITE_LOGO_URL= # optional
3 years ago
volumes:
4 months ago
# Persistent config files.
3 years ago
- ${BASEDIR:-/volume1/docker}/healthchecks/config:/config
ports:
# Healthchecks Web UI
3 years ago
- 8000:8000
# Port for inbound SMTP pings
- 2525:2525 # optional
3 years ago
restart: unless-stopped