- Copy and customize the compose file into your container path. Example:
mkdir -p ~/docker/monitorat # CHANGE
cp compose.yml ~/docker/monitorat/compose.yml-
Edit
compose.ymlwith your values. The file comments show where to get each from the host:- User/group IDs:
id -u,id -g - Docker group:
getent group docker | cut -d: -f3 - Messagebus group:
getent group messagebus | cut -d: -f3(if non-standard) - Port and container name (for multiple instances on one host)
- User/group IDs:
-
Pull image and run (
ghcr.io/brege/monitorat):
docker compose -f compose.yml pull
docker compose -f compose.yml up --detach- Access at
http://localhost:PORT(default PORT=6161)
All configuration goes through /config/config.yaml on your host. You can use include snippets relative to ./config/ as well. See demo/simple for an example.
-
Config: Edit the file, then restart:
docker compose -f compose.yml restart monitorat
-
Logs:
docker compose -f compose.yml logs monitorat -f
-
Shutdown:
docker compose -f compose.yml down
Volume paths in compose.yml must exist on your host and be updated in the file before first run.