- Create Dockerfile wrapping official Healthchecks image - Add CloudronManifest.json with PostgreSQL addon - Create start.sh script with PostgreSQL wait and Django migrations - Include README.md with comprehensive monitoring documentation - Add .env.example for environment configuration - Add CHANGELOG.md for version tracking - Add logo.png (Healthchecks branding) Healthchecks is a cron job monitoring service that listens for HTTP requests and email messages (pings) from your cron jobs and sends alerts when pings are late. Package includes: - Official Healthchecks Docker image wrapper (105MB) - Cloudron PostgreSQL addon for Django database - Automatic database migrations on startup - Superuser creation via environment variables - Email configuration support for alerts - Comprehensive documentation with monitoring examples - Examples for cron, systemd, scripts, and webhook monitoring Features supported: - Cron job monitoring via HTTP pings - 25+ notification integrations (Email, SMS, Slack, Telegram, Matrix, etc.) - Live-updating web dashboard - Status badges for public monitoring - Team management (projects, team members, read-only access) - Monthly email reports - WebAuthn 2FA support - Tag-based organization - Project grouping - Detailed event logs - Grace time configuration - Cron expression support Environment variables: - SECRET_KEY: Django secret key - ALLOWED_HOSTS: Allowed hosts (default: *) - SITE_ROOT: Site root URL - EMAIL_HOST/PORT/USER/PASSWORD: SMTP configuration - SUPERUSER_EMAIL/PASSWORD: Admin account creation Ports: - 8000: Main HTTP port (web interface and API) 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
27 lines
882 B
Plaintext
27 lines
882 B
Plaintext
# Healthchecks Cloudron Environment Configuration Example
|
|
# Copy this to .env and configure as needed
|
|
|
|
# Django Configuration
|
|
SECRET_KEY=change-this-to-a-random-secret-key-in-production
|
|
ALLOWED_HOSTS=*
|
|
SITE_ROOT=https://your-app.cloudron.app
|
|
|
|
# Database (Automatically configured by Cloudron PostgreSQL addon)
|
|
# CLOUDRON_POSTGRESQL_HOST=127.0.0.1
|
|
# CLOUDRON_POSTGRESQL_PORT=5432
|
|
# CLOUDRON_POSTGRESQL_DATABASE=healthchecks
|
|
# CLOUDRON_POSTGRESQL_USERNAME=hc
|
|
# CLOUDRON_POSTGRESQL_PASSWORD=database-password
|
|
|
|
# Email Configuration (for sending alerts)
|
|
EMAIL_HOST=smtp.gmail.com
|
|
EMAIL_PORT=587
|
|
EMAIL_HOST_USER=your-email@gmail.com
|
|
EMAIL_HOST_PASSWORD=your-app-password
|
|
EMAIL_USE_TLS=True
|
|
DEFAULT_FROM_EMAIL=healthchecks@your-app.cloudron.app
|
|
|
|
# Superuser Configuration (create admin account on first start)
|
|
SUPERUSER_EMAIL=admin@example.com
|
|
SUPERUSER_PASSWORD=admin-password-change-me
|