Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oliverbenns/cloud-run-static-site
An example of a GCP Cloud Run deployment hosting a static website, with the Docker image hosted in Artifact Registry.
https://github.com/oliverbenns/cloud-run-static-site
cloud-run continuous-delivery docker gcp makefile
Last synced: about 17 hours ago
JSON representation
An example of a GCP Cloud Run deployment hosting a static website, with the Docker image hosted in Artifact Registry.
- Host: GitHub
- URL: https://github.com/oliverbenns/cloud-run-static-site
- Owner: oliverbenns
- Created: 2023-02-05T11:25:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-14T06:51:56.000Z (almost 2 years ago)
- Last Synced: 2024-12-06T21:50:47.255Z (16 days ago)
- Topics: cloud-run, continuous-delivery, docker, gcp, makefile
- Language: Makefile
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud Run Static Site
An example of a GCP Cloud Run deployment hosting a static website, with the Docker image hosted in Artifact Registry.
## Setup and deploying
In order to run this yourself:
- Set all the required environment variables (see .env.example)
- Run `make init`
- Run `make deploy`
- For subsequent deploys, just run `make deploy`## Running locally.
For local development, you may want to use you own static site generator or local http server. If you want to test the final app in docker. Run `make run` and visit `http://localhost:3000`.