Ensure your critical background tasks never fail in silence. This monitoring service watches your cron jobs, scheduled tasks, and background workers, sending you an immediate alert if they don't run on time. The setup process is designed for simplicity: generate a unique ping URL and have your job send an HTTP request to it upon successful completion. If a ping doesn't arrive on schedule, you'll be notified instantly.
Key features include:
services:
db:
image: postgres:15-alpine
environment:
POSTGRES_DB: healthchecks
POSTGRES_USER: healthchecks
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- ./db-data:/var/lib/postgresql/data
restart: unless-stopped
web:
image: healthchecks/healthchecks:latest
ports:
- "8000:8000"
environment:
- SECRET_KEY=${SECRET_KEY}
- ALLOWED_HOSTS=*
- DB_NAME=healthchecks
- DB_USER=healthchecks
- DB_PASSWORD=${DB_PASSWORD}
- DB_HOST=db
- SITE_ROOT=http://localhost:8000
- PING_ENDPOINT=http://localhost:8000/ping/
- DEFAULT_FROM_EMAIL=healthchecks@example.com
- EMAIL_HOST=smtp.example.com
- EMAIL_PORT=587
- EMAIL_HOST_USER=${EMAIL_HOST_USER}
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD}
- EMAIL_USE_TLS=True
volumes:
- ./app-data:/data
depends_on:
- db
restart: unless-stoppedSECRET_KEY=super_secret_key_change_me_in_production
DB_PASSWORD=super_secret_db_password
EMAIL_HOST_USER=your_smtp_username
EMAIL_HOST_PASSWORD=your_smtp_passwordAuto-fetched about 16 hours ago
Auto-fetched about 16 hours ago