[
https://issues.apache.org/jira/browse/JENA-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948478#comment-16948478
]
Andy Seaborne commented on JENA-909:
------------------------------------
Dockerfile design:
One factor is what files are in the image and what are or can be external
volumes.
External files are easier to manage (log file rotation) and survive the
container being deleted (databases). Imn addition, they are not on the layered
filing system (databases).
See attached [^Dockerfile.0] and [^log4j.properties].
* Code - the combined jar - makes sense to be in the image
* The logging configuration - inject a "log4j.properties" during build. Does
not make it configurable.
* Logging files: these are on a volume
* Config files. Don't know but probably a volume.
* Databases: these are on a volume.
I would expect common usage to be comment line setup running docker, rather
than configuration files for anything that is a plain triple store.
A quirk is that the location for the command line is "docker relative" e.g.
{{–loc data/database}}. The server could start in the data directory.
Comments, alternatives and refinements?
> Create Docker launcher for Fuseki
> ---------------------------------
>
> Key: JENA-909
> URL: https://issues.apache.org/jira/browse/JENA-909
> Project: Apache Jena
> Issue Type: Improvement
> Components: Fuseki
> Reporter: Andy Seaborne
> Priority: Major
> Attachments: Dockerfile.0, image-2019-10-02-22-24-12-723.png,
> log4j.properties
>
>
> Provide a Docker launcher and setup documentation for Fuseki2.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)