diff --git a/broker/ecosystem.config.example.cjs b/broker/ecosystem.config.example.cjs index a2ab087..5f75bdf 100644 --- a/broker/ecosystem.config.example.cjs +++ b/broker/ecosystem.config.example.cjs @@ -1,12 +1,17 @@ module.exports = { apps: [ { - name: 'Producer', - port: '3000', + name: 'QueueBroker', + port: '3999', exec_mode: 'fork', script: './dist/producer/src/index.js', env: { + EMAIL_SERVICE: "", + EMAIL_HOST: "", + EMAIL_USER: "", + EMAIL_PASS: "", PORT: "", + MONGO_CONNECTION_STRING: "", REDIS_URL: "", REDIS_USERNAME: "", REDIS_PASSWORD: "", diff --git a/producer/ecosystem.config.example.cjs b/producer/ecosystem.config.example.cjs index 66af27c..cdd646d 100644 --- a/producer/ecosystem.config.example.cjs +++ b/producer/ecosystem.config.example.cjs @@ -1,18 +1,13 @@ module.exports = { apps: [ { - name: 'QueueBroker', + name: 'Producer', port: '3000', exec_mode: 'cluster', instances: '2', script: './dist/broker/src/index.js', env: { - EMAIL_SERVICE: "", - EMAIL_HOST: "", - EMAIL_USER: "", - EMAIL_PASS: "", PORT: "", - MONGO_CONNECTION_STRING: "", REDIS_URL: "", REDIS_USERNAME: "", REDIS_PASSWORD: "",