Skip to content

[FR] Generate files for deployment via Google Cloud Run #1188

Open
@christophscheuch

Description

@christophscheuch

I love golem, thanks for all the hard work 🙏 It would be great to have a function that creates the necessary files for hosting a golem app via Google Cloud Run (GCR) connected to the GitHub repo.

I have experimented with golem and GCR last week and successfully deployed a few apps (e.g. https://github.com/tidy-intelligence/app-debt-network-visualizer), so I have an idea on which files need to be generated and what they should look like.

I'm happy to create a PR, if you also believe this is a good new feature. However, I have a few upfront questions:

  • What is the best name for this function? add_dockerfile_google_cloud_run / add_dockerfile_googlecloudrun / add_dockerfile_gcr?
  • I think that it is wise to use Shiny Server (which is included in rocker/shiny anyway) as default to run the app. However, this also means creating a shiny-server.conf file that maps the app path to the root (assuming that each container ships a single app). Is it ok to add a shiny_server = TRUE option? EDIT: on second thought, the option should be FALSE as default because the typical use case might be that the resulting container is used in ShinyProxy.

Thanks,
Christoph

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions