Link: http://localhost:81/
Documentation: https://docs.cachethq.io/
-
Copy the cachet.env.example file and complete the cachet.env file
cp docker/cachet.env.example docker/cachet.env
NOTE: If the scratch.cachet container is started and the APP_KEY variable in cachet.env is not set, the service will exit with an error message which will contain a generated key. You can add the suggested value to the environment file and restart the container.
-
After the docker containers started, access the Cachet page to complete the setup.
-
On the Environment Setup page set:
- Cache Driver to Redis
- Queue Driver to Database
- Session Driver to Redis
-
On Status Page Setup choose a name for the status page, the site domain and a timezone.
-
Create an admin user
After the setup is complete you can log in with the admin account and add components and components groups.
Create the following components:
- Scratch - for monitoring the main app
- Elasticsearch - for monitoring the elasticsearch service
- Scratch.async - for monitoring the async service
- Scratch.cron - for monitoring the cron service
https://hub.docker.com/r/mtakaki/cachet-url-monitor
Plugin for cachet that monitors a URL and update the status of the associated cachet component
- Create a config file:
- Copy the
config.yml.example
file
cp config/config.yml.example config/config.yml
- For every component created in Cachet, complete the configurations in
config/config.yml
:- Add the id from cachet for every component. You can see the component ids by accessing the cachet api at http://localhost:81/api/v1/components
- Add the API token from cachet. You can get the token from the profile page (http://localhost:81/dashboard/user)
NOTE: for more info about the config file checkout: https://hub.docker.com/r/mtakaki/cachet-url-monitor
- Copy the
- After the config file is complete run the docker container:
docker-compose start cachet-url-monitor