https://github.com/fhightower/cloud-run-go-example
A simple Go service designed for both local development and cloud deployment.
https://github.com/fhightower/cloud-run-go-example
Last synced: about 1 year ago
JSON representation
A simple Go service designed for both local development and cloud deployment.
- Host: GitHub
- URL: https://github.com/fhightower/cloud-run-go-example
- Owner: fhightower
- Created: 2022-04-15T01:20:04.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-15T09:54:32.000Z (about 4 years ago)
- Last Synced: 2025-04-13T01:08:54.387Z (about 1 year ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Go Service
This is a simple service, written in Go, which is dockerized so it can be run locally with:
```
docker-compose run --rm serve
```
(visible at https://localhost:8080)
The serve can also be deployed to [Cloud Run](https://cloud.google.com/run/) with:
```
gcloud run deploy
```
The code itself is from [the Go quickstart](https://cloud.google.com/run/docs/quickstarts/build-and-deploy/deploy-go-service).