Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/Jinksi/cloudrun-helloworld-r

An example of creating serverless functions using R, plumber and Docker
https://github.com/Jinksi/cloudrun-helloworld-r

cloud-run docker plumber r serverless

Last synced: 18 days ago
JSON representation

An example of creating serverless functions using R, plumber and Docker

Lists

README

        

# Cloud Run with R – Hello World

⭐️ [Read the blog post: Serverless R functions with Google Cloud Run](https://ericjinks.com/blog/2019/serverless-R-cloud-run/) ⭐️

[![Run on Google Cloud](https://deploy.cloud.run/button.svg)](https://deploy.cloud.run)

An example of creating serverless functions using `R`, `plumber`, `Docker` and [Cloud Run](https://cloud.google.com/run/).

Take a look at the Swagger API UI at https://cloudrun-hello-r-tjf3c3jq4q-an.a.run.app/__swagger__/

## File descriptions:

- `app.R` describes the endpoints of the server and respective request handler functions
- `server.R` sets up the server environment with plumber
- `Dockerfile` describes the setup of the docker container used to run the app
- `cloudbuild.yaml` sets up continuous deployment to Cloud Run, when commits are pushed to master