feat: ability for aio in sub-path access configurations to specify alternate ports (#4480)
This commit is contained in:
@@ -18,7 +18,3 @@
|
|||||||
:3170 {
|
:3170 {
|
||||||
reverse_proxy localhost:8080
|
reverse_proxy localhost:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
:80 {
|
|
||||||
respond 404
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -3,19 +3,7 @@
|
|||||||
persist_config off
|
persist_config off
|
||||||
}
|
}
|
||||||
|
|
||||||
:3000 {
|
:{$HOPP_AIO_ALTERNATE_PORT:80} {
|
||||||
respond 404
|
|
||||||
}
|
|
||||||
|
|
||||||
:3100 {
|
|
||||||
respond 404
|
|
||||||
}
|
|
||||||
|
|
||||||
:3170 {
|
|
||||||
reverse_proxy localhost:8080
|
|
||||||
}
|
|
||||||
|
|
||||||
:80 {
|
|
||||||
# Serve the `selfhost-web` SPA by default
|
# Serve the `selfhost-web` SPA by default
|
||||||
root * /site/selfhost-web
|
root * /site/selfhost-web
|
||||||
file_server
|
file_server
|
||||||
|
|||||||
@@ -130,6 +130,8 @@ HEALTHCHECK --interval=2s CMD /bin/sh /healthcheck.sh
|
|||||||
WORKDIR /dist/backend
|
WORKDIR /dist/backend
|
||||||
|
|
||||||
CMD ["node", "/usr/src/app/aio_run.mjs"]
|
CMD ["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 port
|
||||||
EXPOSE 3170
|
EXPOSE 3170
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
EXPOSE 3100
|
EXPOSE 3100
|
||||||
|
|||||||
Reference in New Issue
Block a user