karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elliot Metsger <emets...@gmail.com>
Subject Re: Levels of Containerization - focus on Docker and Karaf
Date Fri, 13 Jan 2017 22:05:26 GMT
Hi Dario,

On Fri, Jan 13, 2017 at 4:53 PM, Dario Amiri <dariushamiri@hotmail.com>
wrote:

> The point is that Karaf does not read configuration from an environment
> variables; it reads configuration from files. In Docker, you can pass
> environment variables in the arguments for running a container; however,
> you can't pass configuration files in those argument.
>

I think we are doing what you suggest above.  Our Karaf configuration files
(e.g. [1]) reference environment variables [2] which are provided by a
docker file. [3]

[1]
https://github.com/fcrepo4-labs/fcrepo-api-x-demo/blob/master/apix/0.1.0/cfg/
[2]
https://github.com/fcrepo4-labs/fcrepo-api-x-demo/blob/master/apix/0.1.0/cfg/org.fcrepo.apix.routing.cfg#L1
[3]
https://github.com/fcrepo4-labs/fcrepo-api-x-demo/blob/master/apix/0.1.0/Dockerfile#L19

Mime
View raw message