<commit_before># fleetstreet

Publish all the things.

![streetsign](https://github.com/binocarlos/fleetstreet/raw/master/streetsign.jpg)

Publish/remove docker container configs to etcd as they are started and stopped

Work In Progress - do not use yet

## install

fleetstreet is best run as a docker container:

```bash
	$ docker pull binocarlos/fleetstreet
```

## usage

Start the fleetstreet listener by passing in the docker socket and the etcd endpoint:

```bash
$ docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name fleetstreet binocarlos/fleetstreet etcd://192.168.8.120:4001/fleetstreet
```

Now when containers are run on the docker host - its config is written to the etcd host & path provided.
<commit_msg>chunk the example onto multiple lines<commit_after># fleetstreet

Publish all the things.

![streetsign](https://github.com/binocarlos/fleetstreet/raw/master/streetsign.jpg)

Publish/remove docker container configs to etcd as they are started and stopped

Work In Progress - do not use yet

## install

fleetstreet is best run as a docker container:

```bash
	$ docker pull binocarlos/fleetstreet
```

## usage

Start the fleetstreet listener by passing in the docker socket and the etcd endpoint:

```bash
$ docker run -d \
  -v /var/run/docker.sock:/var/run/docker.sock \
  --name fleetstreet \
  binocarlos/fleetstreet etcd://192.168.8.120:4001/fleetstreet
```

Now when containers are run on the docker host - its config is written to the etcd host & path provided.

{'fraction_non_alphanumeric': 0.09242021276595745, 'fraction_numerical': 0.018617021276595744, 'mean_word_length': 4.119047619047619, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6355504', 'n_tokens_mistral': 535, 'n_tokens_neox': 462, 'n_words': 171}