<commit_before># Docker Event Bridge

With this first version, it simply pushes all docker events up to a consul server. It would be nice to modularize the backends to support other destinations, but this helps roll up all events to central location if you are wanting to do something with the events globally across your infrastructure.

## Configuration

* `--consul-http-addr` - Specify where to connect to consul
* `--consul-token` - If you are using consul ACLs
* `--host` - This hostname will be attached to all events
* `--docker-socket` - Default: /var/run/docker.sock - Specifies where to talk to docker, currently only the socket is supported.

## Installation

`docker pull ekristen/docker-event-bridge`

## Running

```
docker run -d \
  -h $HOSTNAME \
  --name="docker-event-bridge" \
  -v /var/run/docker.sock:/var/run/docker.sock \
  ekristen/docker-event-bridge --consul-http-addr=10.10.10.10:8500 --consul-token=<PASSWORD>`
```
<commit_msg>adding credits<commit_after># Docker Event Bridge

With this first version, it simply pushes all docker events up to a consul server. It would be nice to modularize the backends to support other destinations, but this helps roll up all events to central location if you are wanting to do something with the events globally across your infrastructure.

## Configuration

* `--consul-http-addr` - Specify where to connect to consul
* `--consul-token` - If you are using consul ACLs
* `--host` - This hostname will be attached to all events
* `--docker-socket` - Default: /var/run/docker.sock - Specifies where to talk to docker, currently only the socket is supported.

## Installation

`docker pull ekristen/docker-event-bridge`

## Running

```
docker run -d \
  -h $HOSTNAME \
  --name="docker-event-bridge" \
  -v /var/run/docker.sock:/var/run/docker.sock \
  ekristen/docker-event-bridge --consul-http-addr=10.10.10.10:8500 --consul-token=ABC123`
```

## Credits

Borrowed ideas from https://github.com/gliderlabs/registrator, thanks GliderLabs!

{'fraction_non_alphanumeric': 0.10767696909272183, 'fraction_numerical': 0.013459621136590228, 'mean_word_length': 3.7672209026128267, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1474509', 'n_tokens_mistral': 655, 'n_tokens_neox': 597, 'n_words': 228}