Go
Your Go binary, running, with no Dockerfile
Go already builds to a single binary. homeport builds it with the Go version in your go.mod and runs it, listening on $PORT.
What homeport reads
- go.mod
- The Go version to build with. The build is a static binary: CGO off, paths trimmed, symbols stripped.
- homeport.yaml (optional)
- A different build command or output, a release command, or extra processes.
What you get
- You pay only for the hours it’s in use, and nothing while nobody is using it
- Postgres and storage in one click, their variables set for you
- HTTPS on a homeport.run address, and your own domain on paid plans
- Your app stays a plain binary you can run anywhere else
Start from go-api
A small Go HTTP API that deploys as it is.