Re: External multiple config files for Docker installation
A lower-lift method might be to put your config files in the local file system and create a volume to make it accessible from your container. Something like: docker run —rm -it -v /home/me/config:/opt/ignite/config -e CONFIG_URI=file:///opt/ignite/config/local.xml apacheignite/ignite:2.7.0 Regards, Stephen > On 20 Feb 2019, at 11:26, Stanislav Lukyanov wrote: > > Ignite's Docker image doesn't have a parameter for that. > You can create your own Dockerfile extending Ignite's image and define and > handle a new parameter there. > > Stan > > > kyro wrote >> Hi akurbanov, >> >> Yes, I have the lines as you mentioned in my config. I was asking as to >> how >> do I pass the two config files when using the docker run command? In the >> docker installation documentation it is written that we can give the uri >> for >> one config file, but how do I import the jettyconfig.xml file? >> >> Thanks, >> >> >> >> -- >> Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: External multiple config files for Docker installation
Ignite's Docker image doesn't have a parameter for that. You can create your own Dockerfile extending Ignite's image and define and handle a new parameter there. Stan kyro wrote > Hi akurbanov, > > Yes, I have the lines as you mentioned in my config. I was asking as to > how > do I pass the two config files when using the docker run command? In the > docker installation documentation it is written that we can give the uri > for > one config file, but how do I import the jettyconfig.xml file? > > Thanks, > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: External multiple config files for Docker installation
Hi akurbanov, Yes, I have the lines as you mentioned in my config. I was asking as to how do I pass the two config files when using the docker run command? In the docker installation documentation it is written that we can give the uri for one config file, but how do I import the jettyconfig.xml file? Thanks, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: External multiple config files for Docker installation
Hi, You can use to include some configuration properties, that is a generic way to do this. As for Jetty config, you should point to absolute or relative to $IGNITE_HOME path: Regards, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
External multiple config files for Docker installation
Hi, Is there any way to provide multiple config files while running ignite from the docker image? In the docs it is mentioned that we can provide the path to one config.xml file. I was wondering if there is any way to provide multiple config files, such as a jetty config xml file along with that. Thanks, Abhisek -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/