/
Node_container container
Node_container container
Here we are going to focus on the Mongo server and Java services.
Go to /opt/zw-vmmc-docker/services/ and create .env file:
vim /opt/zw-vmmc-docker/node_container/services/.env
And paste the next content:
MONGO_LOCATION="mongo:27017" MONGO_USER_PASS="<user>:<pwd>" KAFKA_BROKER="kafka-broker:9092"
You will need to replace “<user>” and “<pwd>” with the same user and password existing in: mongo-user
Continue creating the file ecosystem.config.js in the same folder:
vim /opt/zw-vmmc-docker/node_container/services/ecosystem.config.js
Copy the next lines on the file you are creating:
After that, we will need to get the services. To get the resources you need to access to GitHub and download the next releases:
All these folder haves to be moved to /opt/zw-vmmc-docker/node_container/services
The last step in the node_container folder is to create the dockerfile in /opt/zw-vmmc-docker/node_container :
With the next content: