Swarmpit docker agent.
docker run -d \
--name agent \
--volume /var/run/docker.sock:/var/run/docker.sock \
swarmpit/agent:latest
- STATS_FREQUENCY - default to 30
- EVENT_ENDPOINT - default to http://app:8080/events
- HEALTH_CHECK_ENDPOINT - default to http://app:8080/version
- DEBUG_EVENT - default to false
- DEBUG_STATS - default to false
In case you are deploying agent inside Swarmpit stack with some sort of customization, make sure that Swarmpit service name (default to app) match domain name set by EVENT_ENDPOINT & HEALTH_CHECK_ENDPOINT.