An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Swarmpit agent

Swarmpit docker agent.

[![version](https://img.shields.io/github/release-pre/swarmpit/agent.svg)](https://github.com/swarmpit/agent/releases)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](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.