Skip to content

Commit e4390ce

Browse files
author
Bryan Kendall
committed
removing docks, adding npm_command
1 parent 75b5b6e commit e4390ce

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

ansible/group_vars/alpha-khronos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

ansible/roles/builder/templates/basic_node/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)