iris-web icon indicating copy to clipboard operation
iris-web copied to clipboard

[BUG] Upstream port is hardcoded in docker/webApp/iris-entrypoint.sh

Open arnauos opened this issue 1 year ago • 0 comments

Hi, I needed to change the upstream port since port 8000 was already in use.

I did set the new upstream port in the .env file (IRIS_UPSTREAM_PORT=XXXX) but when trying to start the compose, it was not able to connect to the app and I saw the port 8000 referenced on the logs.

I had to change the port in the iris-entrypoint.sh since it is hardcoded to 8000 on line 31: https://github.com/dfir-iris/iris-web/blob/master/docker/webApp/iris-entrypoint.sh

I did change it manually to the desired port but I supose the best solution would be to reference instead the variable ${IRIS_UPSTREAM_PORT} so it works when the port is set on the .env file.

arnauos avatar Mar 19 '24 19:03 arnauos