blob: 08fdb5c2640e9e561a9ed7841c84486e916a44b0 [file] [log] [blame]
Volodymyr Stoiko9f47aff2017-06-06 16:47:10 +03001parameters:
2 _param:
3 docker_janitor_monkey_replicas: 1
4 docker_image_mongodb: library/mongo:3.4
5 docker_mongodb_admin_username: admin
6 docker_mongodb_admin_password: password
Volodymyr Stoiko804ff722017-08-17 13:19:16 +03007 docker_image_janitor_monkey: docker-prod-local.artifactory.mirantis.com/mirantis/oss/janitor-monkey
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +03008 janitor_monkey_bind_host: cleanup-service-api
9 janitor_monkey_bind_port: 8080
10 janitor_monkey_ssl:
11 enabled: false
Volodymyr Stoiko20cfe392017-06-21 10:44:58 +030012 janitor_monkey_enabled: true
13 janitor_monkey_dryrun_mode: false
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030014 janitor_monkey_mongodb_host: cleanup-service-mongodb
Volodymyr Stoiko20cfe392017-06-21 10:44:58 +030015 janitor_monkey_mongodb_port: ${_param:haproxy_mongodb_bind_port}
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030016 mongodb_ssl:
17 enabled: false
18 janitor_monkey_base_url: http://${_param:janitor_monkey_mongodb_host}:${_param:janitor_monkey_mongodb_port}
Volodymyr Stoiko20cfe392017-06-21 10:44:58 +030019 janitor_monkey_mongodb_db: mcp_cloud
20 janitor_monkey_mongodb_username: janitor
21 janitor_monkey_mongodb_password: password
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030022 janitor_monkey_elasticsearch: ${_param:elasticsearch_bind_host}:${_param:elasticsearch_binary_bind_port}
Volodymyr Stoiko20cfe392017-06-21 10:44:58 +030023 janitor_monkey_cloudfire_region: RegionOne
24 janitor_monkey_cis_clustername: ${_param:elasticsearch_cluster_name}
25 janitor_monkey_openstack:
26 project_domain_name: default
27 project_name: admin
Vladislav Naumovd5eeceb2017-09-13 11:07:44 +030028 auth_url: http://yourcloud.com:5000/v3/auth/tokens
29 username: admin
30 password: password
Vladislav Naumov7d6938e2017-09-12 12:50:46 +030031 ssl_verify: False
Vladislav Naumovd5eeceb2017-09-13 11:07:44 +030032 cacert_path: /srv/volumes/rundeck/storage/content/cis/openstack/cert.pem
Vladislav Naumov4d4f09b2017-09-06 16:22:11 +030033 cafile: /opt/certs/cert.pem
Volodymyr Stoiko9f47aff2017-06-06 16:47:10 +030034 docker:
35 client:
36 stack:
37 janitor_monkey:
38 environment:
39 MONGO_INITDB_ROOT_USERNAME: ${_param:docker_mongodb_admin_username}
40 MONGO_INITDB_ROOT_PASSWORD: ${_param:docker_mongodb_admin_password}
Volodymyr Stoiko20cfe392017-06-21 10:44:58 +030041 simianarmy.recorder.mongodb.host: ${_param:janitor_monkey_mongodb_host}
42 simianarmy.recorder.mongodb.port: ${_param:janitor_monkey_mongodb_port}
43 simianarmy.recorder.mongodb.database: ${_param:janitor_monkey_mongodb_db}
44 simianarmy.recorder.mongodb.user: ${_param:janitor_monkey_mongodb_username}
45 simianarmy.recorder.mongodb.password: ${_param:janitor_monkey_mongodb_password}
46 simianarmy.base.url: ${_param:janitor_monkey_base_url}
47 simianarmy.janitor.enabled: ${_param:janitor_monkey_enabled}
48 simianarmy.janitor.leashed: ${_param:janitor_monkey_dryrun_mode}
49 simianarmy.calendar.isMonkeyTime: true
50 simianarmy.janitor.resources.sdb.domain: ${_param:janitor_monkey_mongodb_db}
51 simianarmy.client.cloudfire.cis.hosts: ${_param:janitor_monkey_elasticsearch}
52 simianarmy.client.cloudfire.region: ${_param:janitor_monkey_cloudfire_region}
53 simianarmy.client.cloudfire.cis.clustername: ${_param:janitor_monkey_cis_clustername}
54 simianarmy.client.cloudfire.identityEndpoint: ${_param:janitor_monkey_openstack:auth_url}
55 simianarmy.client.cloudfire.accountKey: ${_param:janitor_monkey_openstack:username}
56 simianarmy.client.cloudfire.secretKey: ${_param:janitor_monkey_openstack:password}
57 simianarmy.client.cloudfire.domain: ${_param:janitor_monkey_openstack:project_domain_name}
58 simianarmy.client.cloudfire.project: ${_param:janitor_monkey_openstack:project_name}
Vladislav Naumov7d6938e2017-09-12 12:50:46 +030059 simianarmy.client.cloudfire.SSLVerify: ${_param:janitor_monkey_openstack:ssl_verify}
Vladislav Naumov4d4f09b2017-09-06 16:22:11 +030060 simianarmy.client.cloudfire.cafile: ${_param:janitor_monkey_openstack:cafile}
Volodymyr Stoiko9f47aff2017-06-06 16:47:10 +030061 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030062 cleanup-service-mongodb:
Volodymyr Stoiko9f47aff2017-06-06 16:47:10 +030063 image: ${_param:docker_image_mongodb}
64 deploy:
65 replicas: ${_param:docker_janitor_monkey_replicas}
66 restart_policy:
67 condition: any
68 ports:
69 - ${_param:haproxy_mongodb_exposed_port}:${_param:haproxy_mongodb_bind_port}
70 volumes:
Volodymyr Stoiko20cfe392017-06-21 10:44:58 +030071 - /srv/volumes/mongodb:/data/db
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030072 cleanup-service-api:
Volodymyr Stoiko20cfe392017-06-21 10:44:58 +030073 image: ${_param:docker_image_janitor_monkey}
74 deploy:
75 replicas: ${_param:docker_janitor_monkey_replicas}
76 restart_policy:
77 condition: any
78 ports:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030079 - ${_param:haproxy_janitor_monkey_exposed_port}:${_param:janitor_monkey_bind_port}
Vladislav Naumov4d4f09b2017-09-06 16:22:11 +030080 volumes:
81 - ${_param:janitor_monkey_openstack:cacert_path}:${_param:janitor_monkey_openstack:cafile}:ro
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030082 network:
83 default:
84 external:
85 name: oss_backend