<commit_before>
use docker-machine to create nodes for cluster

[source,bash]
----
# create master node
docker-machine create --driver virtualbox master

# create minion nodes
docker-machine create --driver virtualbox minion-00

# run etcd on master machine
eval (docker-machine env master)
export MASTER_IP=$(docker-machine ip master)
docker run -d -p 4001:4001 -p 2380:2380 -p 2379:2379 \
 --name etcd quay.io/coreos/etcd:v3.2.9 /usr/local/bin/etcd \
 -name etcd0 \
 -advertise-client-urls http://${MASTER_IP}:2379,http://${MASTER_IP}:4001 \
 -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 \
 -initial-advertise-peer-urls http://${MASTER_IP}:2380 \
 -listen-peer-urls http://0.0.0.0:2380 \
 -initial-cluster-token <PASSWORD> \
 -initial-cluster etcd0=http://${MASTER_IP}:2380 \
 -initial-cluster-state new

# run Last.Backend Cluster API:
docker run -d -it --restart=always \
      --net=host \
      --name=api \
      index.lstbknd.net/lastbackend/lastbackend api

# run Last.Backend Cluster CTL:
docker run -d -it --restart=always \
      --name=controller \
      index.lstbknd.net/lastbackend/lastbackend ctl

# run Last.Backend Cluster DNS:
docker run -d -it --restart=always \
      --name=discovery \
      index.lstbknd.net/lastbackend/discovery

# run Last.Backend Cluster Exporter:
docker run -d -it --restart=always \
      --name=exporter \<commit_msg>typo fix<commit_after>
use docker-machine to create nodes for cluster

[source,bash]
----
# create master node
docker-machine create --driver virtualbox master

# create minion nodes
docker-machine create --driver virtualbox minion-00

# run etcd on master machine
eval $(docker-machine env master)
export MASTER_IP=$(docker-machine ip master)
docker run -d -p 4001:4001 -p 2380:2380 -p 2379:2379 \
 --name etcd quay.io/coreos/etcd:v3.2.9 /usr/local/bin/etcd \
 -name etcd0 \
 -advertise-client-urls http://${MASTER_IP}:2379,http://${MASTER_IP}:4001 \
 -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 \
 -initial-advertise-peer-urls http://${MASTER_IP}:2380 \
 -listen-peer-urls http://0.0.0.0:2380 \
 -initial-cluster-token <PASSWORD> \
 -initial-cluster etcd0=http://${MASTER_IP}:2380 \
 -initial-cluster-state new

# run Last.Backend Cluster API:
docker run -d -it --restart=always \
      --net=host \
      --name=api \
      index.lstbknd.net/lastbackend/lastbackend api

# run Last.Backend Cluster CTL:
docker run -d -it --restart=always \
      --name=controller \
      index.lstbknd.net/lastbackend/lastbackend ctl

# run Last.Backend Cluster DNS:
docker run -d -it --restart=always \
      --name=discovery \
      index.lstbknd.net/lastbackend/discovery

# run Last.Backend Cluster Exporter:
docker run -d -it --restart=always \
      --name=exporter \
{'fraction_non_alphanumeric': 0.14622641509433962, 'fraction_numerical': 0.05152394775036284, 'mean_word_length': 3.0905044510385755, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '1526301', 'n_tokens_mistral': 1069, 'n_tokens_neox': 979, 'n_words': 227}