File tree Expand file tree Collapse file tree
roles/builder/templates/basic_node Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ container_envs: >
1313 -h khronos
1414 -e DATADOG_HOST={{ datadog_host }}
1515 -e DATADOG_PORT={{ datadog_port }}
16- -e KHRONOS_DOCKS=http://10.20.171.34:4242
1716 -e KHRONOS_MONGO=mongodb://{{ khronos_mongo_auth }}@{{ mongo_hosts }}/{{ khronos_mongo_database }}
1817 -e LOG_LEVEL_STDOUT=trace
1918 -e LOGGLY_TOKEN={{ loggly_token }}
@@ -28,3 +27,5 @@ container_run_opts: >
2827 -d
2928 -v /opt/ssl/docker:/etc/ssl/docker:ro
3029 {{container_envs}}
30+
31+ npm_command : run start-json-output
Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ RUN {{ command }}
3434{% endif %}
3535
3636# Define default command.
37- CMD ulimit -c unlimited && /usr/local/bin/npm start > /var/log/{{ name }}.log 2>&1
37+ CMD ulimit -c unlimited && /usr/local/bin/npm {{ npm_command | default( ' start' ) }} > /var/log/{{ name }}.log 2>&1
You can’t perform that action at this time.
0 commit comments