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

Commit 6954128

Browse files
committed
update mt-gateway to listen on :6059
1 parent 55430f6 commit 6954128

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/mt-gateway/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313
var (
1414
version = "(none)"
1515
showVersion = flag.Bool("version", false, "print version string")
16+
addr = flag.String("addr", ":6059", "http service address")
1617
metrictankUrl = flag.String("metrictank-url", "http://localhost:6060", "metrictank address")
1718
graphiteURL = flag.String("graphite-url", "http://localhost:8080", "graphite-api address")
1819
importerURL = flag.String("importer-url", "", "mt-whisper-importer-writer address")
19-
addr = flag.String("addr", ":80", "http service address")
2020
defaultOrgId = flag.Int("default-org-id", -1, "default org ID to send to downstream services if none is provided")
2121
brokers = flag.String("kafka-tcp-addr", "localhost:9092", "kafka tcp address(es) for metrics, in csv host[:port] format")
2222
)

docs/tools.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Usage:
5656
5757
Flags:
5858
-addr string
59-
http service address (default ":80")
59+
http service address (default ":6059")
6060
-default-org-id int
6161
default org ID to send to downstream services if none is provided (default -1)
6262
-discard-prefixes string

scripts/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN mkdir -p /etc/gw
2020
COPY scripts/config/storage-schemas.conf /etc/metrictank/storage-schemas.conf
2121
COPY --from=gobase /tmp/build/mt-gateway /usr/bin/
2222

23-
EXPOSE 80
23+
EXPOSE 6059
2424

2525
ENTRYPOINT ["/usr/bin/mt-gateway"]
2626

0 commit comments

Comments
 (0)