Skip to content

Commit f8a030e

Browse files
committed
Add ENV vars for navi newrelic
1 parent 296eb21 commit f8a030e

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

ansible/delta-hosts/variables

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ rabbit_username=o2mdLh9N9Ke2GzhoK8xsruYPhIQFN7iEL44dQJoq7OM
7171
registry_host=10.8.4.126
7272
user_content_domain=runnableapp.com
7373

74+
[navi:vars]
75+
navi_new_relic_app_name=delta-navi
76+
7477
[ec2:vars]
7578
aws_custid=437258487404
7679
sg_hipache=sg-7fd7fb1b

ansible/group_vars/alpha-navi.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ container_image: "registry.runnable.com/runnable/{{ name }}"
44
container_tag: "{{ git_branch }}"
55
repo: "git@github.com:CodeNow/{{ name }}.git"
66
hosted_ports: ["{{ navi_port }}"]
7-
node_version: "4.1.0"
7+
node_version: "4.2.4"
88
npm_version: "2.8.3"
99

1010
container_envs: >
@@ -16,13 +16,18 @@ container_envs: >
1616
-e HTTP_PORT={{ hosted_ports[0] }}
1717
-e LOG_LEVEL_STDOUT=trace
1818
-e MONGO=mongodb://{{ navi_mongo_host_address }}:{{ navi_mongo_port }}/{{ navi_mongo_database }}
19+
-e NEW_RELIC_APP_NAME={{ navi_new_relic_app_name }}
20+
-e NEW_RELIC_LICENSE_KEY={{ new_relic_license_key }}
21+
-e NEW_RELIC_LOG_LEVEL=fatal
22+
-e NEW_RELIC_NO_CONFIG_FILE=true
1923
-e NODE_ENV={{ node_env }}
2024
-e RABBITMQ_HOSTNAME={{ rabbit_host_address }}
2125
-e RABBITMQ_PASSWORD={{ rabbit_password }}
2226
-e RABBITMQ_PORT={{ rabbit_port }}
2327
-e RABBITMQ_USERNAME={{ rabbit_username }}
2428
-e REDIS_IPADDRESS={{ redis_host_address }}
2529
30+
2631
container_run_opts: >
2732
-h {{ name }}
2833
-d

0 commit comments

Comments
 (0)