The cachet.yml playbook is used to set up the Cachet status page system. Besides the base system the playbook also uses a custom monitoring module, which monitors websites for outages.
Currently Cachet has to be manually set up, since it doesn't expose all the necessary features for complete automation.
-
Configure .env and monitor-config.yml to your specifications
-
Start the Cachet service:
docker-compose up cachet
- The service will fail after inicialization and ask to set the
APP_KEY
variable. - Copy the value and set it in .env.
- The service will fail after inicialization and ask to set the
-
Restart the Cachet service in the background:
docker-compose up -d cachet
-
Configure Cachet in the browser (default address is
192.168.5.2:8000
).- The recommended settings are as follows:
- Cache Driver: APC(u)
- Queue Driver: Synchronous
- Session Driver: APC(u)
- The recommended settings are as follows:
-
Add appropriate components and metricts (based on your
monitor-config.yml
) -
Create a new team member for the monitoring module (optional - alternatively use the main user)
-
Copy a team member's API Token (accessible from
/dashboard/user
on the website) and set it in .env as theCACHET_TOKEN
-
Start the monitoring module's service:
docker-compose up -d module