Giter Site home page Giter Site logo

webprotege-dockerfile's Introduction

WebProtégé

Codacy Badge

This image allows you to deploy WebProtégé as a microservice.

WebProtégé is a free, open-source ontology editor and framework for building intelligent systems.

How to

To start a new instance :

docker run --name webprotege -d -v webprotege_data:/data/webprotege --link mongodb -p 8888:8080 docker.io/skyplabs/webprotege

The web application will be accessible from the host system on port 8888. All the persistent data will be stored in a volume managed by Docker and called webprotege_data. mongodb must be the name of a MongoDB docker container listening on port 27017.

To start a MongoDB instance using Docker (must be started before WebProtégé) :

docker run --name mongodb -d -v mongodb_data:/data/db mongo:3

All the persistent data will be stored in a volume managed by Docker and called mongodb_data.

To start the two containers using only one command, you can use Docker Compose :

docker-compose up -d

Customise the configuration

You can customise the configuration of WebProtégé by injecting the webprotege.properties and/or mail.properties files into the container using the volume command. The files must be placed in /usr/local/tomcat/webapps/ROOT/WEB-INF/classes.

For example :

export WP_CONFIG_DIR=/usr/local/tomcat/webapps/ROOT/WEB-INF/classes
docker run --name webprotege -d -v webprotege_data:/data/webprotege -v $(pwd)/config/webprotege.properties:${WP_CONFIG_DIR}/webprotege.properties:ro --link mongodb -p 8888:8080 docker.io/skyplabs/webprotege

The following values must be set in webprotege.properties :

  • application.host
  • data.directory
  • application.version

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.