Skip to content

Commit 2625518

Browse files
committed
Move internal service to port 8082
This is as not to clash with the metrics port introduced as 8081. Signed-off-by: Alex Ellis <[email protected]>
1 parent 8c4ce05 commit 2625518

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

template/golang-http-armhf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ USER app
3636

3737
ENV fprocess="./handler"
3838
ENV mode="http"
39-
ENV upstream_url="http://127.0.0.1:8081"
39+
ENV upstream_url="http://127.0.0.1:8082"
4040

4141
CMD ["./fwatchdog"]

template/golang-http-armhf/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func makeRequestHandler() func(http.ResponseWriter, *http.Request) {
5959

6060
func main() {
6161
s := &http.Server{
62-
Addr: fmt.Sprintf(":%d", 8081),
62+
Addr: fmt.Sprintf(":%d", 8082),
6363
ReadTimeout: 3 * time.Second,
6464
WriteTimeout: 3 * time.Second,
6565
MaxHeaderBytes: 1 << 20, // Max header of 1MB

template/golang-http/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ USER app
3636

3737
ENV fprocess="./handler"
3838
ENV mode="http"
39-
ENV upstream_url="http://127.0.0.1:8081"
39+
ENV upstream_url="http://127.0.0.1:8082"
4040

4141
CMD ["./fwatchdog"]

template/golang-http/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func makeRequestHandler() func(http.ResponseWriter, *http.Request) {
5959

6060
func main() {
6161
s := &http.Server{
62-
Addr: fmt.Sprintf(":%d", 8081),
62+
Addr: fmt.Sprintf(":%d", 8082),
6363
ReadTimeout: 3 * time.Second,
6464
WriteTimeout: 3 * time.Second,
6565
MaxHeaderBytes: 1 << 20, // Max header of 1MB

template/golang-middleware-armhf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ USER app
3636

3737
ENV fprocess="./handler"
3838
ENV mode="http"
39-
ENV upstream_url="http://127.0.0.1:8081"
39+
ENV upstream_url="http://127.0.0.1:8082"
4040

4141
CMD ["./fwatchdog"]

template/golang-middleware-armhf/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
func main() {
1414
s := &http.Server{
15-
Addr: fmt.Sprintf(":%d", 8081),
15+
Addr: fmt.Sprintf(":%d", 8082),
1616
ReadTimeout: 3 * time.Second,
1717
WriteTimeout: 3 * time.Second,
1818
MaxHeaderBytes: 1 << 20, // Max header of 1MB

template/golang-middleware/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ USER app
3636

3737
ENV fprocess="./handler"
3838
ENV mode="http"
39-
ENV upstream_url="http://127.0.0.1:8081"
39+
ENV upstream_url="http://127.0.0.1:8082"
4040

4141
CMD ["./fwatchdog"]

template/golang-middleware/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
func main() {
1414
s := &http.Server{
15-
Addr: fmt.Sprintf(":%d", 8081),
15+
Addr: fmt.Sprintf(":%d", 8082),
1616
ReadTimeout: 3 * time.Second,
1717
WriteTimeout: 3 * time.Second,
1818
MaxHeaderBytes: 1 << 20, // Max header of 1MB

0 commit comments

Comments
 (0)