dockerize go app
This commit is contained in:
parent
4084f8dad7
commit
6d859012ce
4 changed files with 53 additions and 0 deletions
1
main.go
1
main.go
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue