Google Cloud Run Middleware

Qwik City Cloud Run middleware allows you to run a Qwik City app on Google Cloud Run


To integrate the Cloud Run adapter, use the add command:

npm run qwik add cloud-run

Production deploy

To deploy your app, you need to:

  1. Have a Google Cloud account

  2. Install the gcloud CLI

    If you don't have gcloud, follow Google Cloud's official documentation.

  3. Authenticate with the gcloud CLI

    To authenticate the gcloud CLI, run this command:

    gcloud auth login

    Grant the SDK access to the account you created in step 1.

  4. Change the name of the deploy script

    Update the name of your Cloud Run app in the deploy script in your package.json.

    "deploy": "gcloud run deploy my-cloud-run-app --source ."
  5. Run deploy script

    Deploy to Google Cloud Run with:

    npm run deploy


Thanks to all the contributors who have helped make this documentation better!

  • DustinJSilk
  • reemardelarosa
  • mhevery
  • WilliamEspegren
  • gioboa
  • igorbabko
  • mrhoodz
  • adamdbradley