React-based ui can only be configured at build time by means of REACT_APP_XXX environment variables.
Because of that, the URL of the server and repository services are set at build time, which means that these URLs are hardcoded in the docker image and a given docker image cannot be used in different environments.
Solution
Apply change similar to the one previously done for h5ai-nginx subcomponent: use docker entrypoint to patch index.html and pass custom variables via the global window object.
Problem
React-based ui can only be configured at build time by means of REACT_APP_XXX environment variables. Because of that, the URL of the server and repository services are set at build time, which means that these URLs are hardcoded in the docker image and a given docker image cannot be used in different environments.
Solution
Apply change similar to the one previously done for h5ai-nginx subcomponent: use docker entrypoint to patch index.html and pass custom variables via the global window object.
Alternatives
No response