Is it possible to deploy two different docker images within the same Cloud Run service

  deployment, docker, docker-compose, google-cloud-run

I’ve built an app that uses two home made micro services, each of the micro service having its own Dockerfile.
When I build it locally I use docker-compose for practical reasons.

Currently, when I deploy to Cloud Run I use commands like

  • docker tag xxx
  • docker push xxx
  • Then I select the image I want to deploy on Cloud run

As I understand, docker-compose build just builds two images (one for each Dockerfile) and the places them within the same network which allows some practical connections between these two API.

Is it possible to do something similar one Cloud Run without having to deploy each image on a different service ?

PS: For business reasons I can’t host my code directly on Cloud Source Repositories, it has to be on Azure

Source: Docker Questions

LEAVE A COMMENT