-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I am not able to start hospital and surgeon container when I tried to run hospital with following commands got connection refus error on port 5432, Looks like it is expecting a Postgres database:
docker run -itd -p 8080:8080 --name hospital hospital ./hospital runserver
tcp 127.0.0.1:5432: connect: connection refused
When I tried running surgeon got the bellow error:
./hospital startsurgeon
Started Surgeon...
panic: strconv.Atoi: parsing "": invalid syntax
goroutine 1 [running]:
hospital/surgeon.LongPolling()
/hospital/surgeon/surgeon.go:25 +0x3ff
main.commands.func4(0xc0000e09a0)
/hospital/hospital.go:59 +0x7b
github.com/urfave/cli.HandleAction(0x7ff5e0, 0x8b9c60, 0xc0000e09a0, 0xc00005e300, 0x0)
/go/pkg/mod/github.com/urfave/[email protected]/app.go:492 +0x7c
github.com/urfave/cli.Command.Run(0x89ec37, 0xc, 0x0, 0x0, 0xc000050ff0, 0x1, 0x1, 0x8a5998, 0x1b, 0x0, ...)
/go/pkg/mod/github.com/urfave/[email protected]/command.go:210 +0x996
github.com/urfave/cli.(*App).Run(0xc00008a820, 0xc00000e080, 0x2, 0x2, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/[email protected]/app.go:255 +0x6af
main.main()
/hospital/hospital.go:68 +0xfc
I would suggest adding a guide about how to run server and surgeon.