Howdy. Am trying to untangle some password crazine...
# fusion-reactor
a
Howdy. Am trying to untangle some password craziness we have with our FusionReactor config we have in our Lucee container. We're setting a bunch of environment variables for the JVM FR uses, one of which is
fradminpassword
(https://docs.fusion-reactor.com/Configuration/FusionReactor-System-Properties/) Now I would have assumed that that is the admin password for the FR UI. But it's... not. That is set in
fusionreactor/conf/reactor.conf
. So what is that env var for?
Also the docs at https://github.com/intergral/fusionreactor-docker/blob/master/coldfusion/README.md#building-this-image talk about
FR_PASSWORD
. What's that for? My suspicion is that these are different mechanisms to get the same value in, and there's some unspoken pecking order. Given we're putting that
reactor.conf
file into the file system of the container when we build the image, I presume we don't need to worry about the other two mechanisms for providing a pwd? Can I just get rid?
(it seems to work, but I'm not really a user of FusionReactor, so not sure if there's some idiosyncrasy I'm missing)
m
-Dfradminpassword={password] is one way of setting the password
you can also set it in the reactor.conf file both of which will achieve the same thing
FR_PASSWORD is an environment variable you could pass into that Dockerfile to make it abit easeir
the -D will override the value in the reactor.conf
just use whichever option works best for you
a
My experience was that the value in
reactor.conf
won out over the other two.
I didn't even know that file existed and was going "howTF is it still remembering the old pwd???!?" until I guessed what that hash was in
reactor.conf
Boy did I shout a lot of obscenities at that point, before just laughing at myself & the coupla hours I'll never get back.
same to you