GoogleCloudPlatform / cloud-run-button

Let anyone deploy your GitHub repos to Google Cloud Run with a single click
https://cloud.run
Apache License 2.0
525 stars 91 forks source link

Cannot set container port #185

Closed tomlarkworthy closed 4 years ago

tomlarkworthy commented 4 years ago

Cloud Run supports setting the expected listening port (https://cloud.google.com/run/docs/reference/container-contract#port). This is option is not exposed here.

It is a helpful feature when you don't own the docker build step: e.g. https://hub.docker.com/r/crccheck/hello-world/

ahmetb commented 4 years ago

Agreed, yeah we'd need to expose a knob for this in app.json.