-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Fuseki Docker #1415
Comments
Well, the official Fuseki docker file does not contain UI so better create your own Dockerfile instead. Meanwhile I created a Fuseki Debian package instead. |
Thanks for opening the issue. I agree that we should switch to a more recent version (obviously). Using the official image seems like a good idea to me. I'm not sure if the UI is absolutely required - thoughts? |
I think the plan in Jena is to further modularize the project so that there is an UI with the admin, without the admin, etc. And at some point maybe there could be a UI added in the Docker Compose recipe -- but probably not for now. The Apache Jena Dockerfile referenced here has the disadvantage of not being published to Docker Hub, Quay, GH, etc. So I think one possibility would be to somehow update our Then, later, we can try to add an extra service with the UI + an HTTP Server (tricky part will be handling CORS, and proxying the requests, but doable IMO). WDYT? |
@kinow Sounds good to me, although I don't know how to use docker-compose with the Jena Dockerfile. But good if you can make it work! It's a pity Apache Jena doesn't publish Docker images. |
Great! I will give it a try and see if I can make it work GUI-less for now.
I will check with Andy to see if it's on the todo list, or if there was a reason for not doing that. Thanks! |
Asked in a comment in the ticket where the Dockerfile was added (there was a comment about DockerHub): https://issues.apache.org/jira/browse/JENA-1949 |
Did a few tests today: https://github.com/kinow/Skosmos/tree/fuseki-docker/dockerfiles/jena-fuseki2-docker The idea was to get a copy of Jena's Docker image. The first issue I had was that it was not only a Then, once I managed to build it, it got a bit complicated to automate everything. stain/jena is able to load a dataset automatically when you create a container with the image. But from what I undestood, for the Jena image you need to create a folder ( |
Is the |
Ah, I forgot to test the |
All right! It works @osma ! I I modified a little bit the I believe this change can be quickly merged back into Jena, so I will send a pull request this week. @osma, would you like me to try adding the UI to this docker setup too? Or do you prefer to use this new image first for Cypress tests? |
@kinow that's great news! I think we can live without the Fuseki UI. It can always be added later if it turns out we need it. |
PR to Jena: apache/jena#1890 |
Merged, and tested again with Skosmos. Now just need some time to update the docs and one final test. |
The version of Fuseki used in Docker is 2 years old. There are official Fuseki Docker files at https://jena.apache.org/documentation/fuseki2/fuseki-docker instead.
The text was updated successfully, but these errors were encountered: