dockerize go app

This commit is contained in:
Travis Shears 2025-09-25 13:36:01 +02:00
parent 4084f8dad7
commit 6d859012ce
4 changed files with 53 additions and 0 deletions

View file

@ -75,6 +75,7 @@ func userName(r *gemini.Request) []string {
}
func main() {
println("Starting gemini server")
var host, cert, key string
flag.StringVar(&host, "host", ":1965", "listen on host and port. Example: hostname:1965")
flag.StringVar(&cert, "cert", "server.crt.pem", "certificate file")