Skip to content

Commit 8b1c23e

Browse files
Greg Mayalexellis
Greg May
authored andcommitted
Change to of-watchdog & swap port 8081 -> 8082
Signed-off-by: Gregory May <[email protected]>
1 parent 1fbd24e commit 8b1c23e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

template/powershell-http/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openfaas/classic-watchdog:0.18.0 as watchdog
1+
FROM openfaas/of-watchdog:0.7.2 as watchdog
22

33
FROM microsoft/powershell:ubuntu-xenial as ship
44

@@ -14,7 +14,7 @@ HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
1414
ENV fprocess="pwsh ./server.ps1"
1515
ENV cgi_headers="true"
1616
ENV mode="http"
17-
ENV upstream_url="http://127.0.0.1:8081"
17+
ENV upstream_url="http://127.0.0.1:8082"
1818

1919
EXPOSE 8080
2020
CMD ["fwatchdog"]

template/powershell-http/server.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Class FunctionResponse{
1616
}
1717

1818
$listener = New-Object System.Net.HttpListener
19-
$listener.Prefixes.Add("http://*:8081/")
19+
$listener.Prefixes.Add("http://*:8082/")
2020
$listener.Start()
2121

2222
. "./function/handler.ps1"

0 commit comments

Comments
 (0)