Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 404 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 404 Bytes

api.kig.land

Description

Power by go, deploy on docker, a tmpl backend.

Deps

go mod download

Env Vars

PORT=8080 DATABSE_URL=xxx go run .

Build

docker buildx build --platform linux/amd64 -t image_name:tag --load .

Docker Run

docker run --restart unless-stopped -d -p 9321:9321 -e PORT=9321 -e DATABASE_URL="xxx" image_name:tag