title: gcloud docker-compose deploy main container (solution with sub projects)
body: <p>I developed a solution. This solution consists of 3 projects. (Some documents call them services, some call them containers, but we know that these are containers and sub-containers for docker-compose)</p>
  <ol>
  <li>The application itself</li>
  <li>Db - SQL Peoje</li>
  <li>Redis</li>
  </ol>
  <p>When I build this solution with docker-compose, I can see 3 images under a common Container. And in this way; It works in my local environment with docker-compose build and up.
  I want to deploy the solution as it is (as the main container and subcontainer) to google cloud. I tried about 6-7 different ways while reading the documents to upload the project to the Google side. But I couldn't understand what ideal is. Everywhere is full of documents, but they did not write a healthy simple method.</p>
  <p>Even with a method or two, when I deploy. It does not give an error, it seems to be working, but; When I open the url it gives 404. It didn't happen anyway.</p>
  <p>Here's the ABC method for small projects that's for big projects to me briefly. Can you provide information in the form? My only goal is to make the container with 3 services running there. Please give me pure address for this special (but not much special) case.</p>
  <p>Bonus: you can give a real definitions and diff all of them very complex gpc, engine, cloud run</p>
  <p>docker-compose.yaml</p>
  <pre><code>version: '3.4'
  
  services:
    cms:
      image: ${DOCKER_REGISTRY-}cms
      build:
        context: .
        dockerfile: Dockerfile
      container_name: ich_app
      ports:
        - &quot;80:8080&quot;
      depends_on:
        - db
  
    db:
      image: &quot;mcr.microsoft.com/mssql/server&quot;
      container_name: ich_db
      ports:
        - &quot;${DOCKER_SQL_PORT:-1433}:1433&quot;
      expose:  
        - 1433  
      environment: 
        - ACCEPT_EULA=Y
        - MSSQL_PID=Express
        - SA_PASSWORD=PassWORDD!
      volumes:
        - C:\db_backups\ichte\:/usr/share/
      depends_on:
        - redis
  
    redis:
      container_name: ich_redis
      image:  redis
  </code></pre>