0

I run magento 2 on my local with docker. It works like a charm. But now I would like to pass the next step, and deploying a registry image of my magento2 (gitlab registry with gitlab-ci in my case) in a k3d cluster in my personal server. I don't have any problems to generate the image in the registry of gitlab and to deploy the service, the node, the pod with kube in my server. To train myself and to be sure that what I did was correct, I have tried to deploy an other image in my cluster from the gitlab registry from a little simple HTML and a Dockerfile and it works like a charm. But the magento 2 image no. The problem is that we must play the setup / compile / etc. When I try to play composer install in my entrypoint it says in the logs pod that there is no composer.json in the folder where composer is supposed to be. So I guess I must configure ingress.yaml, services and deployment with a specific way. I don't know where to start and how. My question is just, if someone know a good tuto or some documentations links I would be pleased to see that. I have heard about helm, the hooks etc...but I don't handle it at all. I even don't know what it is... Thank you

Thanks

R Lopez
  • 167
  • 1
  • 1
  • 12

0 Answers0