@@ -25,16 +25,21 @@ cron_container_metrics_command: "/khronos/bin/cli.js --queue khronos:metrics:con
2525
2626# for container settings
2727container_envs : >
28- -e API_URL={{ api_url }}
2928 -e API_SOCKET_SERVER=https://{{ api_socket_server_hostname }}
30- -e CANARY_API_TOKEN={{ khronos_canary_token }}
31- -e CANARY_REBUILD_INSTANCE_ID={{ khronos_canary_rebuild_instance_id }}
32- -e CANARY_REBUILD_NAVI_URL={{ khronos_canary_rebuild_navi_url }}
29+ -e API_URL={{ api_url }}
30+ -e CANARY_API_TOKEN={{ khronos_canary_token | default('undefined') }}
31+ -e CANARY_GITHUB_BRANCHES_INSTANCE_ID={{ khronos_canary_github_branches_instance_id | default('undefined') }}
32+ -e CANARY_LOG_INSTANCE_ID={{ khronos_canary_logs_instance_id | default('undefined') }}
33+ -e CANARY_LOG_TERMINAL_SLEEP=10
34+ -e CANARY_REBUILD_INSTANCE_ID={{ khronos_canary_rebuild_instance_id | default('undefined') }}
35+ -e CANARY_REBUILD_NAVI_URL={{ khronos_canary_rebuild_navi_url | default('undefined') }}
3336 -e DATADOG_HOST={{ datadog_host_address }}
3437 -e DATADOG_PORT={{ datadog_port }}
35- -e KHRONOS_PREFETCH=6
38+ -e INTERCOM_API_KEY={{ intercom_api_key | default('undefined') }}
39+ -e INTERCOM_APP_ID={{ intercom_app_id | default('undefined') }}
3640 -e KHRONOS_MAVIS=http://{{ mavis_hostname }}
3741 -e KHRONOS_MONGO=mongodb://{{ khronos_mongo_auth }}@{{ mongo_hosts }}/{{ khronos_mongo_database }}
42+ -e KHRONOS_PREFETCH=6
3843 -e LOG_LEVEL=error
3944 {% if node_env != "production-epsilon" %}
4045 -e MONGO_CACERT=/opt/ssl/mongo-client/ca.pem
@@ -46,12 +51,8 @@ container_envs: >
4651 -e RABBITMQ_PASSWORD={{ rabbit_password }}
4752 -e RABBITMQ_PORT={{ rabbit_port }}
4853 -e RABBITMQ_USERNAME={{ rabbit_username }}
54+ -e SWARM_HOST=http://{{ swarm_host_address }}:{{ swarm_master_port }}
4955 -e WORKER_MAX_RETRY_DELAY=3600000
50- -e CANARY_LOG_TERMINAL_SLEEP=10
51- -e CANARY_LOG_INSTANCE_ID={{khronos_canary_logs_instance_id}}
52- -e CANARY_GITHUB_BRANCHES_INSTANCE_ID={{khronos_canary_github_branches_instance_id}}
53- -e INTERCOM_APP_ID={{ intercom_app_id }}
54- -e INTERCOM_API_KEY={{ intercom_api_key }}
5556
5657container_run_opts : >
5758 -h {{ name }}
0 commit comments