mirror of
https://github.com/openfaas/faas.git
synced 2025-06-23 07:13:23 +00:00
Add new HTTPServer to serve /metrics on port 8082
This commit runs a new HTTPServer on port 8082 in a goroutine to serve /metrics endpoint on a different port. This also update the configurations and compose files. Fixes: #1081 Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This commit is contained in:
@ -29,6 +29,7 @@ RUN addgroup -S app \
|
||||
WORKDIR /home/app
|
||||
|
||||
EXPOSE 8080
|
||||
EXPOSE 8082
|
||||
ENV http_proxy ""
|
||||
ENV https_proxy ""
|
||||
|
||||
|
Reference in New Issue
Block a user