Created
November 10, 2016 10:36
-
-
Save cpressland/6c1e285e424aa8b878b5d7cb08e7295d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PHP Attributes | |
default[:container][:php][:name] = 'php' | |
default[:container][:php][:repo] = 'cpressland/php' | |
default[:container][:php][:tag] = 'latest' | |
default[:container][:php][:volume] = ['/data:/data', '/data2:/data2'] | |
# Netdata Attributes | |
default[:container][:netdata][:name] = 'netdata' | |
default[:container][:netdata][:repo] = 'cpressland/netdata' | |
default[:container][:netdata][:tag] = 'latest' | |
# Unifi Attributes | |
default[:container][:unifi][:name] = 'unifi' | |
default[:container][:unifi][:repo] = 'cpressland/unifi' | |
default[:container][:unifi][:tag] = 'latest' | |
default[:dockertest][:images] = [ | |
{ | |
name: node[:container][:php][:repo], | |
tag: node[:container][:php][:tag], | |
notifies: node[:container][:php][:name] | |
}, | |
{ | |
name: node[:container][:netdata][:repo], | |
tag: node[:container][:netdata][:tag], | |
notifies: node[:container][:netdata][:name] | |
}, | |
{ | |
name: node[:container][:unifi][:repo], | |
tag: node[:container][:unifi][:tag], | |
notifies: node[:container][:unifi][:name] | |
} | |
] | |
default[:dockertest][:containers] = [ | |
{ | |
name: node[:container][:php][:name], | |
repo: node[:container][:php][:repo], | |
tag: node[:container][:php][:tag], | |
volume: node[:container][:php][:volume] | |
}, | |
{ | |
name: node[:container][:netdata][:name], | |
repo: node[:container][:netdata][:repo], | |
tag: node[:container][:netdata][:tag] | |
}, | |
{ | |
name: node[:container][:unifi][:name], | |
repo: node[:container][:unifi][:repo], | |
tag: node[:container][:unifi][:tag] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment