Josh
02/08/2022, 11:42 PMconfigmaps
/ secrets
?
I'm looking to inject my set of vars at container start time, without fully relying on a populated .env
file.cfsimplicity
02/23/2022, 5:08 PMfailed (111: Connection refused) while resolving, resolver: 127.0.0.11:53
and then app1 could not be resolved (110: Operation timed out)
I tried changing the resolver in the nginx conf and various other suggestions on SO but to no avail.dougcain
03/22/2022, 3:50 PMdougcain
03/27/2022, 7:11 PMbdw429s
05/03/2022, 4:10 PMsknowlton
05/03/2022, 4:22 PMProvider lucee.runtime.script.LuceeScriptEngineFactory could not be instantiated
and an array out of bounds (in thread)cfsimplicity
05/13/2022, 2:05 PMJTDavis
05/16/2022, 9:51 PMAubrey C.
06/22/2022, 4:06 PMAdam Cameron
07/25/2022, 8:53 AMCMD export SOME_ENV_VAR=some_value
As opposed to just:
ENV SOME_ENV_VAR=some_value
In our Dockerfile we're chaining that export
with a call to start the actual process, eg:
CMD export SOME_ENV_VAR=some_value && supervisord -c /etc/supervisor/supervisord.conf
But pretty sure that doesn't make any difference to anything.
I guess the question is whether there's any difference in how an env variable gets set between ENV
and calling export
from the shell.chris-schmitz
07/25/2022, 8:59 AMexport
the env var will only be available during the build process of the intermediate container that is created while building, it does not persist and will not be available when you run a container from that image. With ENV
it will persist. See https://stackoverflow.com/questions/33379393/docker-env-vs-run-exportchris-schmitz
07/25/2022, 9:00 AMRUN export
and CMD export
... not sureAdam Cameron
07/25/2022, 9:05 AMLUCEE_JAVA_OPTS
... the container ends up with the correct value being set. Just wondering if I'm missing some idiosyncrasy.Jim Priest
08/11/2022, 2:54 PMLeon Miller-Out
08/22/2022, 2:05 PMsknowlton
09/13/2022, 4:12 PMJim Priest
09/29/2022, 7:23 PMJim Priest
11/15/2022, 7:18 PMJim Priest
11/28/2022, 7:31 PMjamiejackson
11/29/2022, 5:53 PMjamiejackson
11/29/2022, 7:15 PMpassword.txt
? since my container image build-time warmup needs to query the admin (with a temporary password) but then needs a different password at container run-time, i've had trouble getting it to pick up that runtime admin password.
IIRC, once lucee does the password.txt
thing, it won't do it again.johnfarrar
01/27/2023, 5:56 PMjohnfarrar
02/16/2023, 2:16 PMMattiasR
02/21/2023, 4:12 PMMattiasR
02/21/2023, 4:12 PMcfsimplicity
02/21/2023, 5:18 PM/opt/lucee/server/lucee-server/context/lib/
?MattiasR
02/23/2023, 2:08 PM