How to write this render.yaml file?

Hey there, I need help translating this docker compose file to render.yaml. Would be pretty good to have a way to convert it using the dashboard.

version: '3.8'
      - ./credentials.json:/secrets/cloudsql/credentials.json
      - '54320:54320'
    command: >

We already have this in our render.yaml file for this service:

  - type: web
    name: traba-server-node-dev
    env: docker
    branch: main
    dockerfilePath: ./Dockerfile
    dockerContext: ./

We need this second image to run and load in the same instance.

Thank you for the support!

I suspect what you’ll want to do here is define a new service in your render.yaml for the proxy, probably using a pserv and then have a new Dockerfile specific for the proxy and have the render.yaml use that for this new service. Once the service is created you can add a secret file ( and then refer to that path in the command.


John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.