Skip to content

Commit f0a41bc

Browse files
author
anandkumarpatel
committed
Merge pull request #237 from CodeNow/mavis-with-swarm
Mavis with swarm
2 parents af71563 + ee0d511 commit f0a41bc

4 files changed

Lines changed: 7 additions & 10 deletions

File tree

ansible/group_vars/alpha-mavis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,20 @@ is_redis_update_required: 'yes'
1313

1414
# container settings
1515
container_envs: >
16-
-e PORT={{ hosted_ports[0] }}
17-
-e REDIS_PORT={{ redis_port }}
18-
-e REDIS_IPADDRESS={{ redis_host_address }}
1916
-e DATADOG_HOST={{ datadog_host_address }}
2017
-e DATADOG_PORT={{ datadog_port }}
21-
-e CONTAINER_WEIGHT=0
18+
-e DOCKER_CERT_PATH=/etc/ssl/docker
2219
-e NEWRELIC_KEY={{ new_relic_license_key }}
20+
-e PORT={{ hosted_ports[0] }}
2321
-e RABBITMQ_HOSTNAME={{ rabbit_host_address }}
2422
-e RABBITMQ_PASSWORD={{ rabbit_password }}
2523
-e RABBITMQ_PORT={{ rabbit_port }}
2624
-e RABBITMQ_USERNAME={{ rabbit_username }}
27-
-e CONSUL_HOST={{ consul_host_address }}
28-
-e CONSUL_PORT={{ consul_api_port }}
29-
-e DOCKER_CERT_PATH=/etc/ssl/docker
25+
-e REDIS_IPADDRESS={{ redis_host_address }}
26+
-e REDIS_PORT={{ redis_port }}
3027
-e SWARM_CONTAINER_NAME={{ swarm_container_name }}
28+
-e SWARM_HOSTNAME={{ swarm_host_address }}
29+
-e SWARM_PORT={{ swarm_master_port }}
3130
3231
container_run_opts: >
3332
-h {{ name }}

ansible/group_vars/alpha-metis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ container_envs: >
2929
-e REGISTRY_HOST={{ registry_host }}
3030
-e ROLLBAR_KEY={{ shiva_rollbar_key }}
3131
-e DOCKER_PORT={{ docker_port }}
32-
-e SWARM_TOKEN={{ swarm_token }}
3332
3433
container_run_opts: >
3534
-h {{ name }}

ansible/group_vars/alpha-shiva.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ container_envs: >
2828
-e REGISTRY_HOST={{ registry_host }}
2929
-e ROLLBAR_KEY={{ shiva_rollbar_key }}
3030
-e DOCKER_PORT={{ docker_port }}
31-
-e SWARM_TOKEN={{ swarm_token }}
3231
3332
container_run_opts: >
3433
-h {{ name }}

ansible/mavis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- hosts: redis
3-
- hosts: consul
3+
- hosts: swarm-manager
44
- hosts: rabbitmq
55

66
- hosts: mavis

0 commit comments

Comments
 (0)