Skip to content

scinote-eln/jchem-webservice-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is only an example dockerization of ChemAxon JChem Web Services. We don't suggest to use this exact image in production but it can provide an example to start building your own image.

1. Prerequisites

After settings you should have the following files in the directory:

Dockerfile
docker-compose.yml
license.cxl
LICENSE.txt
README.md
webservcies.war
ws-config.xml

2. Building the image:

  • Run: docker build -t cxn/jchem_webservices:latest .

This will build an image that is called cnx/jchem_webservcies with the tag: latest. This image is based on Tomcat 8.53.34 and uses OpenJDK 8 to run JChem Web Services.

3. Starting a container

  • Run docker run -p 8080:8080 -ti cxn/jchem_webservices:latest

This will start the container and JChem Web Services in Tomcat.

You can connect to the service on http://localhost:8080/webservices/

4. Using docker-compose

JChem Web Services can also be started with docker-compose. You should only do steps from #1 (extended with docker-compose installed) and than simply run docker-compose up

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%