updated port >1024
This commit is contained in:
@@ -16,4 +16,4 @@ COPY --from=builder /go/yosoy/yosoy /bin
|
|||||||
# register entrypoint
|
# register entrypoint
|
||||||
ENTRYPOINT ["yosoy"]
|
ENTRYPOINT ["yosoy"]
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 8080
|
||||||
|
|||||||
@@ -188,5 +188,5 @@ func main() {
|
|||||||
proxyRouter := handlers.ProxyHeaders(loggingRouter)
|
proxyRouter := handlers.ProxyHeaders(loggingRouter)
|
||||||
recoveryRouter := handlers.RecoveryHandler()(proxyRouter)
|
recoveryRouter := handlers.RecoveryHandler()(proxyRouter)
|
||||||
|
|
||||||
http.ListenAndServe(":80", recoveryRouter)
|
http.ListenAndServe(":8080", recoveryRouter)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user