Hello,
Thank you so much for your reply.
For testing, I created two projects called Test and Test1. In the Test project, I have a docker-compose.yml file as follows:
What destination? Again, a Gitlab runner is not (I repeat, NOT) meant to host your website. It is meant to run automated tests on your code, create docker images, and deploy those docker images.
Once more with feeling: a Github runner is not meant to host your website.
You cannot run code on the gitlab runner server. Even if it is called runner it is not running your code.
You need a third server which is hosting the code you want to run.
Maybe you should start with a little bit more basics like installing node on a server and run one single nodeJS project on it before trying to build multiple docker container with separated microservices…
For me it looks like you are trying change the cylinder head gasket of your car but do not even know how to open the engine hood.
Hi,
Thank you so much for your reply.
Docker has been installed on the GitLab Runner server and the Node.js image has been downloaded. I meant the container running on the GitLab Runner server to run those codes. Is this clear?