Setting up the new RSpace Chemistry service on Docker
Starting with RSpace 1.108, the new RSpace chemistry service replaces the existing Chemaxon chemistry service. This means you will need to install the new chemistry service to continue being able to access chemistry features inside of RSpace.
Installation steps (to be done on the RSpace server)
- Install docker (sometimes under the package name "docker.io") and docker-compose-v2 from the Ubuntu repos
- Download and start the container:
docker run -d -p 8090:8090 --name oss-chemistry-container -v chemistry-files:/home/app rspaceops/oss-chemistry:latest- The container will be called oss-chemistry-container
- the volume for the container will be called "chemistry-files". This is the same name if you previously ran Chemistry via docker-compose, so even if the run commands are different, the volume is the same
- You can check the docker container has started correctly by running "docker ps"
- In the RSpace deployment.properties file you will need to add some new entries and then restart tomcat9:
- REMOVE the line: chemistry.web.url=
- ADD the following lines:
- chemistry.provider=indigo
chemistry.service.url=http://localhost:8090
chemistry.service.indexOnStartup=true (optional, for reindexing previous chemicals, this can make RSpace startup take longer)
- chemistry.provider=indigo
Updating the service
We publish updates to the docker image. The latest stable version will always be tagged "latest", this can be updated via a "docker pull" like you would any other docker image.