Skip to content

Instantly share code, notes, and snippets.

@chasebolt
Created October 12, 2015 23:25
Show Gist options
  • Save chasebolt/07717dacffddf915b6c5 to your computer and use it in GitHub Desktop.
Save chasebolt/07717dacffddf915b6c5 to your computer and use it in GitHub Desktop.
case node.environment
when 'prod'
default['docker-containers'] = {
"cadvisor": {
"repo": "docker.io",
"image": "google/cadvisor",
"tag": "v1",
"port-8080": 8190
}
}
when 'stage'
default['docker-containers'] = {
"cadvisor": {
"repo": "docker.io",
"image": "google/cadvisor",
"tag": "v2",
"port-8080": 8191
}
}
else
default['docker-containers'] = {
"cadvisor": {
"repo": "docker.io",
"image": "google/cadvisor",
"tag": "v3",
"port-8080": 8192
}
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment