This Repository is part of Liquid Investigations.
This script installs and configures Consul, Vault and Nomad. It uses Docker to package these services, since this is not supported by Hashicorp.
Install and have Docker up and running. Follow the instructions at
get.docker.com.
In case you are using a firewall you may need to allow connections to the IP-adress the liquid bundle is running on. For ufw this can be done with sudo ufw allow to 10.66.60.1.
Clone this repository, then:
cd /opt/cluster
sudo apt install -y nohang # on CentOS, you can use use "yum"
sudo cp ./examples/nohang.conf /etc/nohang/nohang.conf
sudo systemctl enable nohang.service
sudo systemctl start nohang.service
cp examples/cluster.ini .
./bin/docker.sh
docker exec cluster ./cluster.py supervisorctl -- tail -f start
Wait a minute and visit:
In case of panic or just to stop it, docker stop cluster will make it all go away.
To run a tagged version (e.g. v0.9.0) of cluster:
git checkout v0.9.0
./bin/docker.sh --image liquidinvestigations/cluster:0.9.0
Use cluster.py nomad-exec JOB:TASK COMMAND... to execute a command inside a
container. stdin and stdout can be used to exchange data.
The command uses
nomad alloc exec.
As a next step you can install node, by following these instructions .
Content type
Image
Digest
sha256:5ef1723bc…
Size
707.8 MB
Last updated
over 1 year ago
docker pull liquidinvestigations/cluster