Add docker build

This commit is contained in:
Khanh Ngo
2020-04-25 00:33:22 +07:00
parent a5fbb7b58a
commit b12feb08bd
9 changed files with 6629 additions and 7 deletions

View File

@@ -33,5 +33,5 @@ func main() {
app.GET("/api/machine-ips", handler.MachineIPAddresses())
app.GET("/api/suggest-client-ips", handler.SuggestIPAllocation())
app.GET("/api/apply-wg-config", handler.ApplyServerConfig())
app.Logger.Fatal(app.Start("127.0.0.1:5000"))
app.Logger.Fatal(app.Start("0.0.0.0:5000"))
}