updated port >1024

This commit is contained in:
2024-01-27 21:03:09 -07:00
parent 906be51244
commit c9bb065696
2 changed files with 2 additions and 2 deletions

View File

@@ -16,4 +16,4 @@ COPY --from=builder /go/yosoy/yosoy /bin
# register entrypoint # register entrypoint
ENTRYPOINT ["yosoy"] ENTRYPOINT ["yosoy"]
EXPOSE 80 EXPOSE 8080

View File

@@ -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)
} }