This docker-compose permits to run:
Both dockers are launch in a private docker network (172.0.3.0/24
by default).
This permits to isolate them. Cachet will be reachable on 172.0.3.2:8000
.
Update submodule for cachet and monitor
git submodule init git submodule update
Build the docker-compose:
docker-compose build
Launch cachet (this should not work):
docker-compose up cachet
Get the APP_KEY and add it in .env file
Re-launch Cachet (in detached mode this time):
docker-compose up -d cachet
Configuration via the web interface (172.0.3.2:8000). If you don't now for drivers,
use APC(u)
and Synchronous
.
Connect to Cachet and create components and metrics used by the monitor
Get the token of the user (in 172.0.3.2:8000/dashboard/user)
Modify on the monitor configuration file monitor-config.yml:
api_url
Start the monitor:
docker-compose up -d monitor
docker-compose
commands (up
, down
...)data
folder..env
to gather parameters