diff --git a/cmd/main.go b/cmd/main.go index d5009ab..7c9f7de 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -22,7 +22,7 @@ type Server struct { } func main() { - dsn := "postgres://postgres:secret@u0k.de:5432/postgres?sslmode=disable" + dsn := "postgres://postgres:secret@postgres:5432/postgres?sslmode=disable" store, err := postgres.NewStore(dsn) if err != nil { @@ -48,7 +48,7 @@ func main() { } func updateServers(serverString string, store steamServer.Store) { - url := "http://localhost:8090/server/" + serverString + url := "http://steam-server-api:8080/server/" + serverString reqClient := http.Client { Timeout: time.Second * 10,