A module that listens is served, not run
`run` imports an entrypoint without binding a broker — it exists for a step that works offline and exits. Both the catalogue and amqp-ping subscribe on import, so both died on the first on() with no broker bound.
This commit is contained in:
@@ -51,10 +51,6 @@
|
||||
"env-file": [
|
||||
"/var/lib/amqp-ping/amqp.env"
|
||||
],
|
||||
"args": [
|
||||
"run",
|
||||
"/app/modules/amqp-ping/dist/index.js"
|
||||
],
|
||||
"restart-on": [
|
||||
"amqp-env"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user