Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noclocks/demo-rshiny-cloudrun
Demonstration of CI/CD Docker Deployment to GCP Cloud Run for R Shiny App
https://github.com/noclocks/demo-rshiny-cloudrun
cicd cloud-run devops docker gcp r-package r-shiny r-shiny-app
Last synced: about 1 month ago
JSON representation
Demonstration of CI/CD Docker Deployment to GCP Cloud Run for R Shiny App
- Host: GitHub
- URL: https://github.com/noclocks/demo-rshiny-cloudrun
- Owner: noclocks
- License: other
- Created: 2024-06-12T22:12:28.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T23:12:06.000Z (about 2 months ago)
- Last Synced: 2024-11-17T23:26:39.579Z (about 2 months ago)
- Topics: cicd, cloud-run, devops, docker, gcp, r-package, r-shiny, r-shiny-app
- Language: R
- Homepage: https://docs.noclocks.dev/demo-rshiny-cloudrun/
- Size: 4.19 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Docker.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - noclocks/demo-rshiny-cloudrun - Demonstration of CI/CD Docker Deployment to GCP Cloud Run for R Shiny App (R)
README
### Building and running your application
When you're ready, start your application by running:
`docker compose up --build`.### Deploying your application to the cloud
First, build your image, e.g.: `docker build -t myapp .`.
If your cloud uses a different CPU architecture than your development
machine (e.g., you are on a Mac M1 and your cloud provider is amd64),
you'll want to build the image for that platform, e.g.:
`docker build --platform=linux/amd64 -t myapp .`.Then, push it to your registry, e.g. `docker push myregistry.com/myapp`.
Consult Docker's [getting started](https://docs.docker.com/go/get-started-sharing/)
docs for more detail on building and pushing.