BiVeS-WebApp as a Docker image

Today we compiled the BiVeS web application into a Docker image. Using Docker it is very simple to run the application on your desktop, your server, your cloud…

The Docker image is available from the Docker Hub as binfalse/bives-webapp. To pull the latest version of the BiVeS web application just call

1
docker pull binfalse/bives-webapp

Running the tool is almost as simple pulling it:

1
docker run -it --rm -p 1234:8080 binfalse/bives-webapp

This call will bind the container’s web server to your machine’s port 1234. Thus, if you open your web browser and go to http://localhost:1234 you will already start talking to BiVeS!
To verify that BiVeS is working correctly, you can try to compare two files using the following curl command:

1
2
3
4
5
6
7
8
9
10
11
12
13
curl -d '{
  "files":
  [
    "http://budhat.sems.uni-rostock.de/download?downloadModel=24",
    "http://budhat.sems.uni-rostock.de/download?downloadModel=25"
  ],
  "commands":
  [
    "SBML",
    "reactionsDot",
    "reportHtml"
  ]
}' http://localhost:1234

Replace http://localhost:1234 with the settings of your environment if you didn’t run the above command lines on your local machine.

We updated our maven configuration to automagically create and publish new docker image with every release of the BiVeS web application.

One thought on “BiVeS-WebApp as a Docker image

  1. Pingback: A container for the CombineArchive Web interface | SEMS

Comments are closed.