Healthchecks
Simple and Effective Cron Job Monitoring
#monitoring #healthcheck #Screenshots
Getting Started
- Create a folder and move to the folder
mkdir healthchecks && cd healthchecks
- Create a
docker-compose.yml
file and add the following content:docker-compose.ymlservices: healthchecks: image: healthchecks/healthchecks:latest container_name: healthchecks environment: - DB=sqlite - DB_NAME=/data/hc.sqlite - DEBUG=False - [email protected] - EMAIL_HOST=mailhog - EMAIL_HOST_PASSWORD=mailhog - EMAIL_HOST_USER=mailhog - EMAIL_PORT=1025 - EMAIL_USE_TLS=False - SECRET_KEY=--- - SITE_ROOT=http://localhost:8000 ports: - 8000:8000 volumes: - healthchecks-data:/data restart: unless-stopped mailhog: image: mailhog/mailhog restart: always ports: - 8025:8025 volumes: healthchecks-data:
- Start the service using docker compose
docker compose up -d
- Open the browser and go to http://localhost:8000 to access Healthchecks.
Note: For email confirmation during signup, check MailHog at http://localhost:8025.