You can run a full Liquid cluster in a virtual machine using Vagrant. The configuration has been tested with the libvirt driver but should work with the default VirtualBox driver as well.
- Install vagrant
cdto thevagrantsubfolder, everything Vagrant-related happens in here:cd vagrant/- Start the VM:
vagrant up
You can log into the vm using vagrant ssh. Optionally, install
vagrant-env, and set environment variables in an .env local file that
will be ignored by git.
Vagrant will forward the following http ports:
guest: 80, host: 1380- public web serverguest: 8500, host: 18500- consulguest: 8200, host: 18200- vaultguest: 4646, host: 14646- nomad
On MacOS the following extra steps need to be taken:
- Run the following command in a terminal:
sudo socat -vvv tcp-listen:80,fork tcp:localhost:1380- Edit
/etc/hostsand add the following line:
10.66.60.1 [liquid_domain] hoover.[liquid_domain]
where [liquid_domain] is the value of liquid.domain from the liquid.ini file.