Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit a7a0cb0

Browse files
committed
Change port to be 80 by default
- `Dockerfile` explicitly overrides `8081` with `80`, so might as well have it as the default: github.com/microservices-demo/catalogue/blob/master/docker/catalogue/Dockerfile#L45-L46 - Should one not realise this override is currently required (but no longer, after this change), issues like microservices-demo/microservices-demo/pull/767 could be experienced.
1 parent 5712573 commit a7a0cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cataloguesvc/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func init() {
4343

4444
func main() {
4545
var (
46-
port = flag.String("port", "8081", "Port to bind HTTP listener") // TODO(pb): should be -addr, default ":8081"
46+
port = flag.String("port", "80", "Port to bind HTTP listener") // TODO(pb): should be -addr, default ":80"
4747
images = flag.String("images", "./images/", "Image path")
4848
dsn = flag.String("DSN", "catalogue_user:default_password@tcp(catalogue-db:3306)/socksdb", "Data Source Name: [username[:password]@][protocol[(address)]]/dbname")
4949
zip = flag.String("zipkin", os.Getenv("ZIPKIN"), "Zipkin address")

0 commit comments

Comments
 (0)