Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Example Chef recipe:

app_name = 'consul'
app_dir = "/mnt/#{app_name}"
consul_version = 'latest'

docker_image 'erulabs/consul' do
  tag consul_version
  notifies :redeploy, 'docker_container[consul]'
end

docker_container 'consul' do
  repo 'erulabs/consul'
  tag consul_version
  host 'unix:///var/run/docker.sock'
  port [
    '8300:8300',
    '8301:8301',
    '8302:8302',
    '8400:8400',
    '8500:8500',
    '8600:8600',
    '53:53/udp'
  ]
  volumes ["#{app_dir}:/data"]
end
Docker Pull Command
Owner
erulabs

Comments (0)