OSDN Git Service

adds the devops-suite-on-docker role.
[metasearch/grid-chef-repo.git] / roles / nexus2-on-docker.rb
1 name 'nexus2-on-docker'
2 description 'Nexus2 on Docker'
3
4 run_list(
5   'role[docker]',
6   'recipe[nexus-grid::docker-compose]',
7 )
8
9 #env_run_lists
10
11 default_attributes(
12 )
13
14 override_attributes(
15   'nexus-grid' => {
16     'docker-compose' => {
17       'app_dir' => '/opt/docker-compose/app/nexus2',
18       'config' => {
19         'services' => {
20           'reverseproxy' => {
21             'ports' => [
22             ],
23           },
24           'nexus' => {
25             'image' => 'sonatype/nexus',
26             'volumes' => [
27             ],
28             'environment' => {
29             },
30           },
31         },
32       },
33     },
34   },
35 )