agent icon indicating copy to clipboard operation
agent copied to clipboard

Swarmpit docker agent

Swarmpit agent

Swarmpit docker agent.

version PRs Welcome

Run

docker run -d \
  --name agent \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  swarmpit/agent:latest

Parameters

  • 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

Important!

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.