Replies: 3 comments
-
We use Spring, please check this options for setting context path. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip but I can't get it to work. I modified docker-compose.yaml to add the environment variable for the context path. Added the one for Spring Boot 1 also:
No effect. Roda is still served on the root context. Is the environment setting overridden by some other configuration or code? |
Beta Was this translation helpful? Give feedback.
-
Actually, I see that Spring Boot is only on the development branch, to be released in RODA 6 (or if you use the :development docker tag). In RODA 5, we use Tomcat, and its being deployed in the ROOT context. To change it, you might need to change the Dockerfile, or inject a configuration to tomcat to redefine the context path of the ROOT web application. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm trying to set up a test/demo installation of Roda on a docker host running several other services. We use a reverse proxy to direct different context paths such as '/portainer' to different containers. I'd like to run Roda on a the context path '/roda'.
This doesn't work since the Roda web application assumes its resources is available on the root.
Does Roda have an option like Portainer's --base-url to specify that it is accessed below a context path?
/Gunnar
Beta Was this translation helpful? Give feedback.
All reactions