OSDN Git Service

adds SSL configurations.
[metasearch/grid-chef-repo.git] / roles / docker-secure.rb
1 name 'docker-secure'
2 description 'Secure Docker Engine'
3
4 run_list(
5   'recipe[docker-grid::engine]',
6 )
7
8 #env_run_lists
9
10 default_attributes(
11 )
12
13 override_attributes(
14   'docker-grid' => {
15     'engine' => {
16       'version_on_centos' => '1.11.2-1',
17       'version_on_ubuntu' => '1.11.2-0',
18       'storage-driver_on_centos' => 'overlay',
19       'storage-driver_on_ubuntu' => 'overlay',  # default: aufs
20       'userns-remap' => 'default',
21       'daemon_extra_options' => [
22         '-H fd:// --bip=192.168.128.1/24 --fixed-cidr=192.168.128.0/24',
23       ].join(' '),
24       'users_allow' => [
25         #'alice',
26         #'bob',
27       ],
28     },
29   },
30 )