Run a Hashicorp stack on your Mac for development (NOT production).
Install the official Hashicorp binaries.
brew install \
hashicorp/tap/consul \
hashicorp/tap/nomad \
hashicorp/tap/vault
or make install
Use your terminal application of choice for these tasks.
- Setup the temp working directories for the servers by running
make dirs
consul agent -config-file=./consul/config.hcl -dev
vault server -config=./vault/config.hcl -dev
nomad agent -config ./nomad/config.hcl -data-dir=$(PWD)/temp/nomad/data -dev
The '.env' file in this project exports variables to simplify using the CLI tooling.
killall nomad
killall vault
killall consul
or simply make shutdown
Remove the contents of the ./temp directory by running make clean
.
The browser user interface for the servers are at these URLs respectively:
- Consul: http://localhost:8500/
- Nomad: http://localhost:4646/
- Vault: http://localhost:8200/