Best application server for Longhorn? / Setting up docker image for Longhorn

8 views
Skip to first unread message

Marc

unread,
Jul 12, 2022, 12:24:07 PM7/12/22
to okapi-users
Dear all,

we are on our way of setting up a docker image for Longhorn.

So first question: Is there a maintained docker image for Longhorn out
there? According to Google I did only find this:

https://hub.docker.com/r/okapiframework/okapi-longhorn/

Second question: Would it make sense for you, that we take over the
maintenance of the image and provide updates, when a new Longhorn
version is out?

Third question: What would be the best Java application server to use
for this? Jetty or TomCat? If Jetty (since so far we use TomCat): Is
there a how-to for configuring everything correctly, for example where
to put the okapi-longhorn-configuration.xml file?

Thank you very much in advance

best

Marc

Chase Tingley

unread,
Jul 12, 2022, 12:57:17 PM7/12/22
to Marc, okapi-users
Hi Marc,

I believe the longhorn Docker image on hub is the one that's built from the Dockerfile in the longhorn repo (longhorn-app/src/main/docker/Dockerfile).  Timo from Ontram was maintaining this; I have not personally used it.

I think the code currently wants the okapi-longhorn-configuration.xml file to live in the process's home directory -- the Dockerfile puts it in /home/jetty.  There aren't really any other docs on how to do it, though.  I have used longhorn with jetty programmatically, and it was pretty straightforward.

--
You received this message because you are subscribed to the Google Groups "okapi-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-users/40791091-892a-cf9b-e717-6d67ea8075fa%40marcmittag.de.

Marc

unread,
Jul 13, 2022, 3:45:24 AM7/13/22
to Chase Tingley, okapi-users

Hi Chase,

thank you for the quick answer!

Is there any advice, if Tomcat or Jetty are better for using Longhorn?

best

Marc

Reply all
Reply to author
Forward
0 new messages