Having the capability to install from docker make it easy to evaluate new version, however often need to evaluate using virtual connection to relational DB.
Is there a way to tell it to load libraries from a specific path similar to how we tell it where the home is?
Here instruction to add libraries
- Create a 'lib' directory in STARDOG_HOME
- cp your favorite jars in STARDOG HOME
- run the following command
docker run -e STARDOG_EXT="/var/opt/stardog/lib" -v ~/stardog-home/:/var/opt/stardog -p 5820:5820 stardog/stardog:latest
You will notice a new parameter -e which allowed you to set an environment variable as documented at https://www.stardog.com/docs/#_managing_virtual_graphs
Also note that I also added -p option which publish the port to the public interface which is probably something that everyone need. This may be obvious to long time Docker users but not so much to newbies like me.
Thanks a lot Serge. This is the approach we are currently using too. We are considering some other options to make this easier. Apologies for the delay in response.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.