From a8daa2d95698173fd21109984ccf000f753565c1 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 4 Jan 2018 11:46:57 +0100 Subject: [PATCH] Fix javaworker result service not starting The `--debug` option is deprecated and caused the result service to not start: result_1 | [nodemon] 1.14.7 result_1 | [nodemon] to restart at any time, enter `rs` result_1 | [nodemon] watching: *.* result_1 | [nodemon] starting `node --debug server.js` result_1 | (node:20) [DEP0062] DeprecationWarning: `node --debug` and `node --debug-brk` are invalid. Please use `node --inspect` or `node --inspect-brk` instead. result_1 | [nodemon] app crashed - waiting for file changes before starting... This patch removes the `--debug` option, as it's not needed, and no longer present in the other example stacks. Signed-off-by: Sebastiaan van Stijn --- docker-compose-javaworker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose-javaworker.yml b/docker-compose-javaworker.yml index df9f117..6d20494 100644 --- a/docker-compose-javaworker.yml +++ b/docker-compose-javaworker.yml @@ -14,7 +14,7 @@ services: result: build: ./result - command: nodemon --debug server.js + command: nodemon server.js volumes: - ./result:/app ports: