Skip to content

Commit d9df87c

Browse files
author
Bryan Kendall
committed
adding rabbit related things for khronos
1 parent f5f2d6d commit d9df87c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

ansible/group_vars/alpha-khronos.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,25 @@ name: khronos
33
container_image: "registry.runnable.com/runnable/{{ name }}"
44
container_tag: "{{ git_branch }}"
55
repo: "git@github.com:CodeNow/{{ name }}.git"
6-
node_version: "0.12.0"
6+
node_version: "0.12.7"
77
npm_version: "2.1.18"
88

99
mongo_hosts: "{% for host in groups['mongodb'] %}{{ hostvars[host]['ansible_default_ipv4']['address'] }}:27000{% if not loop.last %},{% endif %}{% endfor %}"
1010

1111
# for container settings
1212
container_envs: >
1313
-h khronos
14-
-e NODE_ENV={{ node_env }}
1514
-e DATADOG_HOST={{ datadog_host }}
1615
-e DATADOG_PORT={{ datadog_port }}
16+
-e KHRONOS_DOCKS=http://10.20.171.34:4242
1717
-e KHRONOS_MONGO=mongodb://{{ khronos_mongo_auth }}@{{ mongo_hosts }}/{{ khronos_mongo_database }}
18+
-e LOG_LEVEL_STDOUT=trace
19+
-e LOGGLY_TOKEN={{ loggly_token }}
20+
-e NODE_ENV={{ node_env }}
21+
-e RABBITMQ_HOSTNAME={{ rabbit_host | default(hostvars[groups['rabbitmq'][0]]['ansible_default_ipv4']['address']) }}
22+
-e RABBITMQ_PASSWORD={{ rabbit_password }}
23+
-e RABBITMQ_PORT={{ rabbit_port }}
24+
-e RABBITMQ_USERNAME={{ rabbit_username }}
1825
1926
container_run_opts: >
2027
-d

ansible/khronos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
- hosts: rabbitmq
23
- hosts: mongodb
34

45
- hosts: khronos

0 commit comments

Comments
 (0)