Skip to content

Demonstration connecting Consul, Vault, and Nomad all together using docker 'nodes'

License

Notifications You must be signed in to change notification settings

mjpitz/nomad-on-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mostly a proof of concept that connects all the HashiCorp projects together inside of docker. Why? Because having a safe and secure production cluster shouldn't require a hard way.

Images

Status

Deployment

The default docker-compose.yaml file deploys a single, all-in-one container. The docker-compose-ha.yaml file uses the same image, but deploys each component separately according to the various HashiCorp reference architecture documents. Currently, this spins up a single datacenter, but Nomad is designed to run over a WAN and operate against multiple datacenters.

docker compose up

Once all the containers are running, you should be able to access their UI in the browser. Note, these ports are currently unavailable for the HA configuration. To access the associated UI, you will need to look up the port mapping.

Extra Packages

The ghcr.io/mjpitz/hashistack container image accepts an EXTRA_PACKAGES environment variable that allows additional alpine packages to be installed. The value must be a space-separated list of package names. For example openjdk11 will install openjdk version 11 prior to running the enabled processes.

About

Demonstration connecting Consul, Vault, and Nomad all together using docker 'nodes'

Resources

License

Stars

Watchers

Forks