go-gin-example Docker & Self-Hosted Deployment

GitHub

Go api & endless repository by @eddycjy. Model Context Protocol (MCP) server & tools with 7.2k stars.

7,186 stars Go Go 1 file ยท ~2,235 tokens #api#endless#gin#go#golang#gorm#jwt#swagger
1. Pull Image (DOCKERHUB) docker pull eddycjy/go-gin-example:latest
2. Docker Run (1-Click Launch) docker run -d --name go-gin-example -p 8000:8000 --restart always eddycjy/go-gin-example:latest
3. Podman Run podman run -d --name go-gin-example -p 8000:8000 --restart always eddycjy/go-gin-example:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/eddycjy/go-gin-example:latest
5. ORAS Pull (OCI Artifact) oras pull eddycjy/go-gin-example:latest
Dockerfile
FROM golang:latest

ENV GOPROXY https://goproxy.cn,direct
WORKDIR $GOPATH/src/github.com/EDDYCJY/go-gin-example
COPY . $GOPATH/src/github.com/EDDYCJY/go-gin-example
RUN go build .

EXPOSE 8000
ENTRYPOINT ["./go-gin-example"]