jjethwa / rundeck

GNU General Public License v3.0
123 stars 137 forks source link

cannot change -Dserver.web.context #64

Closed phoenix086 closed 7 years ago

phoenix086 commented 7 years ago

Hi,

according to docs it should be possible to set via RDECK_JVM the -Dserver.web.context.

docker run -p 4440:4440 -e SERVER_URL=http://localhost:4440 -e RDECK_JVM=-Dserver.web.context=/rundeck ...

This is not working for me. Rundeck gets still mapped to /

jjethwa commented 7 years ago

Hi @phoenix086

Sorry about that. There were some changes to the profile from 2.7 -> 2.8. You'll need to use the RDECK_JVM_SETTINGS variable now.

So try

-e RDECK_JVM_SETTINGS="-Xmx1024m -Xms256m -XX:MaxMetaspaceSize=256m -server -Dfile.encoding=UTF-8 -Dserver.web.context=/rundeck"

You'll need to add -Xmx1024m -Xms256m -XX:MaxMetaspaceSize=256m -server -Dfile.encoding=UTF-8 as well as -Dserver.web.context=/rundeck due to the way the profile is set up

phoenix086 commented 7 years ago

thank you for your effort - its working now, nice work all in all, appreciate it

jjethwa commented 7 years ago

That's great news, @phoenix086 Thanks for opening the issue. I've updated the readme 😄