<commit_before># dockerized setup for tsuru deployment

## under construction

## howto test

Make docker images and run:

```bash
$ docker run -d --name node1 -h node1 progrium/consul -server -bootstrap-expect 3
```

```bash
$ docker run -d -p 8400:8400 -p 8500:8500 -p 8600:53/udp --name node4 -h node4 progrium/consul -join $JOIN_IP
```

```bash
$ JOIN_IP="$(docker inspect -f '{{.NetworkSettings.IPAddress}}' node1)"
```

```bash
$ docker run -d --name redis -h redis -e JOIN_IP=$JOIN_IP -p 6379:6379 tsuru/redis
```

```bash
$ docker run -d --name mongodb -h mongodb -e JOIN_IP=$JOIN_IP -p 27017:27017 tsuru/mongodb
```

```bash
$ docker run -d --name router -h router -e JOIN_IP=$JOIN_IP -p 80:8080 tsuru/router
```<commit_msg>fix doc<commit_after># dockerized setup for tsuru deployment

## under construction

## howto test

Make docker images and run:

```bash
$ docker run -d --name node1 -h node1 progrium/consul -server -bootstrap-expect 3
```

```bash
$ JOIN_IP="$(docker inspect -f '{{.NetworkSettings.IPAddress}}' node1)"
```

```bash
$ docker run -d -p 8400:8400 -p 8500:8500 -p 8600:53/udp --name node2 -h node2 progrium/consul -join $JOIN_IP
```

```bash
$ docker run -d --name redis -h redis -e JOIN_IP=$JOIN_IP -p 6379:6379 tsuru/redis
```

```bash
$ docker run -d --name mongodb -h mongodb -e JOIN_IP=$JOIN_IP -p 27017:27017 tsuru/mongodb
```

```bash
$ docker run -d --name router -h router -e JOIN_IP=$JOIN_IP -p 80:8080 tsuru/router
```
{'fraction_non_alphanumeric': 0.16164383561643836, 'fraction_numerical': 0.07123287671232877, 'mean_word_length': 3.7435064935064934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '389996', 'n_tokens_mistral': 690, 'n_tokens_neox': 551, 'n_words': 179}