@@ -3,7 +3,7 @@ name: navi
33container_image : registry.runnable.com/runnable/{{ name }}
44container_tag : " {{ git_branch }}"
55repo : git@github.com:CodeNow/{{ name }}.git
6- hosted_ports : [ "{{ navi_http_port }}", "{{ navi_https_port }}" ]
6+ hosted_ports : [ "{{ navi_http_port }}" ]
77node_version : " 4.2.4"
88npm_version : " 2.8.3"
99
@@ -17,11 +17,9 @@ container_envs: >
1717 -e COOKIE_SECRET={{ navi_cookie_secret }}
1818 -e DATADOG_HOST={{ datadog_host_address }}
1919 -e DATADOG_PORT={{ datadog_port }}
20- -e ENABLE_CLUSTERING=1
2120 -e ENABLE_LRU_CACHE=1
2221 -e ERROR_URL=http://{{ detention_host_address }}:{{ detention_port }}
2322 -e HTTP_PORT={{ hosted_ports[0] }}
24- -e HTTPS_PORT={{ hosted_ports[1] }}
2523 -e LOG_LEVEL_STDOUT=trace
2624 -e MONGO=mongodb://{{ navi_mongo_host_address }}:{{ navi_mongo_port }}/{{ navi_mongo_database }}
2725 -e NODE_ENV={{ node_env }}
@@ -32,7 +30,6 @@ container_envs: >
3230 -e REDIS_CACERT={{ redis_ca_cert_path }}
3331 -e REDIS_IPADDRESS={{ redis_host_address }}
3432 -e REDIS_PORT={{ redis_tls_port }}
35- -e USERLAND_IP={{ userland_host_address }}
3633 {% if navi_intercom_api_key is defined %} -e INTERCOM_API_KEY={{ navi_intercom_api_key }} {% endif %}
3734 {% if navi_intercom_app_id is defined %} -e INTERCOM_APP_ID={{ navi_intercom_app_id }} {% endif %}
3835 {% if navi_new_relic_app_name is defined %} -e NEW_RELIC_APP_NAME={{ navi_new_relic_app_name }} {% endif %}
@@ -43,8 +40,6 @@ container_envs: >
4340container_run_opts : >
4441 -h {{ name }}
4542 -d
46- -p {{ hosted_ports[0] }}:{{ hosted_ports[0] }}
47- -p {{ hosted_ports[1] }}:{{ hosted_ports[1] }}
43+ -P
4844 -v {{ redis_ca_cert_path }}:{{ redis_ca_cert_path }}
49- -v {{ content_domain_certs }}:{{ content_domain_certs }}
5045 {{ container_envs }}
0 commit comments