Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
feat: ability for aio in sub-path access configurations to specify alternate ports (#4480)
Andrew Bastinc1bc74635fca
diff --git a/aio-multiport-setup.Caddyfile b/aio-multiport-setup.Caddyfileindex 05c659894..6140f464e 100644--- a/aio-multiport-setup.Caddyfile+++ b/aio-multiport-setup.Caddyfile@@ -18,7 +18,3 @@:3170 {reverse_proxy localhost:8080}--:80 {- respond 404-}diff --git a/aio-subpath-access.Caddyfile b/aio-subpath-access.Caddyfileindex 356a656a4..7318eecd2 100644--- a/aio-subpath-access.Caddyfile+++ b/aio-subpath-access.Caddyfile@@ -3,19 +3,7 @@persist_config off}-:3000 {- respond 404-}--:3100 {- respond 404-}--:3170 {- reverse_proxy localhost:8080-}--:80 {+:{$HOPP_AIO_ALTERNATE_PORT:80} {# Serve the `selfhost-web` SPA by defaultroot * /site/selfhost-webfile_serverdiff --git a/prod.Dockerfile b/prod.Dockerfileindex 9b8464a65..e4386c8ea 100644--- a/prod.Dockerfile+++ b/prod.Dockerfile@@ -130,6 +130,8 @@ HEALTHCHECK --interval=2s CMD /bin/sh /healthcheck.shWORKDIR /dist/backendCMD ["node", "/usr/src/app/aio_run.mjs"]++# NOTE: Although these ports are exposed, the HOPP_ALTERNATE_AIO_PORT variable can be used to assign a user-specified portEXPOSE 3170EXPOSE 3000EXPOSE 3100