Help configuring hot reload of realm file in Docker

8 views
Skip to first unread message

Mark

unread,
Mar 10, 2026, 7:54:41 AM (8 days ago) Mar 10
to rundeck-discuss
Hi all,

I am hoping you can help me. I am trying to configure the latest version of the free version of rundeck 5.19 to run on Docker. I am wanting to configure jaas for the hot reload of the realm.properties file which was all working last week but now it is not for some reason and I can't determine why. The files are present and correct on the container but I am getting 'invalid user/password' as soon as I try and login. If I disable the Dockerfile COPY of the remco files it works again.

Could someone tell me if my configuration looks correct for all files and hopefully spot what it might be please? 

1) I have created the following remco folder

image (11).png

and the files are configured as follows;

image (12).png

image (13).png

Dockerfile

ENV variables

# Rundeck environment configuration
ENV RUNDECK_HOME=/home/rundeck \
RUNDECK_CONFIG=/home/rundeck/etc \
RUNDECK_DATA=/home/rundeck/data \
RUNDECK_LOGS=/home/rundeck/logs \
RUNDECK_SERVER_FORWARDED=true \
RUNDECK_DATABASE_DRIVER="com.mysql.cj.jdbc.Driver" \
RUNDECK_LOGLEVEL=DEBUG \
RDECK_JVM="-Djava.security.auth.login.config=/home/rundeck/server/config/jaas-loginmodule.conf -Drundeck.jaaslogin=true" \
REALM_FILE=/home/rundeck/server/config/realm.properties


#Copy the remco config
COPY --chown=rundeck:rundeck remco/resources.d/ /etc/remco/resources.d/
COPY --chown=rundeck:rundeck remco/templates/ /etc/remco/templates/


When I exec into the container the files and env variables are how I expect them and I have not touched the realm file at this point.

But every time I try I get denied access. If I comment out the remco commands from Docker, it works again.

Any ideas anyone?

Thanks in advance.

Mark 



Mark

unread,
Mar 10, 2026, 8:09:33 AM (8 days ago) Mar 10
to rundeck...@googlegroups.com
Hi all, 

I managed to sort this yesterday with the help of AI. It suggested copying the jass file via remco to a different file name and then setting the JAAS env variable to point to that. That has done the trick. It was a very annoying problem because it was working then it stopped having made no changes. 

Mark

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rundeck-discuss/cde61fe6-fd41-4be0-9e99-6043173fe059n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages