https://github.com/swarmpit/agent
Swarmpit docker agent
https://github.com/swarmpit/agent
agent collector docker events socket swarmpit
Last synced: about 1 year ago
JSON representation
Swarmpit docker agent
- Host: GitHub
- URL: https://github.com/swarmpit/agent
- Owner: swarmpit
- Created: 2017-10-29T14:41:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-28T07:18:21.000Z (about 6 years ago)
- Last Synced: 2024-10-29T18:47:27.322Z (over 1 year ago)
- Topics: agent, collector, docker, events, socket, swarmpit
- Language: Go
- Homepage:
- Size: 57.6 KB
- Stars: 16
- Watchers: 5
- Forks: 13
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swarmpit agent
Swarmpit docker agent.
[](https://github.com/swarmpit/agent/releases)
[](https://github.com/swarmpit/agent/pulls)
## Run
```{r, engine='bash', count_lines}
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](https://github.com/swarmpit/swarmpit/blob/master/docker-compose.yml)
with some sort of customization, make sure that Swarmpit service name (default to **app**) match domain name set by EVENT_ENDPOINT & HEALTH_CHECK_ENDPOINT.