{"id":16288411,"url":"https://github.com/skyplabs/webprotege-dockerfile","last_synced_at":"2025-03-20T03:30:38.323Z","repository":{"id":145921195,"uuid":"75575234","full_name":"SkypLabs/webprotege-dockerfile","owner":"SkypLabs","description":"Docker image for WebProtégé","archived":false,"fork":false,"pushed_at":"2019-01-26T22:55:58.000Z","size":24,"stargazers_count":16,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-02-28T22:49:00.858Z","etag":null,"topics":["docker","microservice","ontology","semantic-web","webapp","webprotege"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/skyplabs/webprotege","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SkypLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"SkypLabs","custom":["https://blog.skyplabs.net/support/","https://paypal.me/skyplabs"]}},"created_at":"2016-12-05T00:54:59.000Z","updated_at":"2022-03-05T12:07:52.000Z","dependencies_parsed_at":"2023-04-09T19:03:39.267Z","dependency_job_id":null,"html_url":"https://github.com/SkypLabs/webprotege-dockerfile","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fwebprotege-dockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fwebprotege-dockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fwebprotege-dockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fwebprotege-dockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkypLabs","download_url":"https://codeload.github.com/SkypLabs/webprotege-dockerfile/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047628,"owners_count":20389206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","microservice","ontology","semantic-web","webapp","webprotege"],"created_at":"2024-10-10T19:48:12.699Z","updated_at":"2025-03-20T03:30:38.317Z","avatar_url":"https://github.com/SkypLabs.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/SkypLabs","https://blog.skyplabs.net/support/","https://paypal.me/skyplabs"],"categories":[],"sub_categories":[],"readme":"# WebProtégé\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/168f293b92f64cf1a7a56cee6f914e3c)](https://www.codacy.com/app/skyper/webprotege-dockerfile?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=SkypLabs/webprotege-dockerfile\u0026amp;utm_campaign=Badge_Grade)\n\nThis image allows you to deploy [WebProtégé][webprotege] as a [microservice][microservice].\n\nWebProtégé is a free, open-source ontology editor and framework for building intelligent systems.\n\n## How to\n\n### Create your container\n\nTo start a new instance:\n\n    docker run --name webprotege -d \\\n      -v webprotege_data:/srv/webprotege \\\n      -v webprotege_logs:/var/log/webprotege \\\n      --link mongodb -p 8888:8080 \\\n      skyplabs/webprotege\n\nThe web application will be accessible from the host system on port `8888`. All the persistent data will be stored in two volumes managed by Docker and called respectively `webprotege_data` and `webprotege_logs`. `mongodb` must be the name of a [MongoDB][mongodb] docker container listening on port `27017`.\n\nTo start a MongoDB instance using Docker (must be started before WebProtégé):\n\n    docker run --name mongodb -d -v mongodb_data:/data/db mongo:3\n\nAll the persistent data will be stored in a volume managed by Docker and called `mongodb_data`.\n\nTo start the two containers using only one command, you can use [Docker Compose][docker-compose]:\n\n    docker-compose up -d\n\n### Create an admin account\n\nTo bootstrap your new container with an admin account, you need to use the [WebProtégé Command Line Tool][webprotege-cli]. This Docker image embeds natively this tool.\n\nOnce your new container up and running:\n\n    docker exec -it \u003ccontainer name\u003e webprotege-cli create-admin-account\n\n### Finalise your installation\n\nAfter having signed in your new WebProtégé instance, you need to specify the host name and a couple of other parameters on the [settings page][webprotege-settings].\n\n## Customise the configuration\n\nYou can customise the configuration of WebProtégé by injecting the [`webprotege.properties`][webprotege-properties] and/or [`mail.properties`][mail-properties] files into the container using the volume command. The files must be placed in `/etc/webprotege`.\n\nFor example:\n\n    export WP_CONFIG_DIR=/etc/webprotege\n    docker run --name webprotege -d \\\n      -v webprotege_data:/data/webprotege \\\n      -v webprotege_logs:/var/log/webprotege \\\n      -v $(pwd)/config/webprotege.properties:${WP_CONFIG_DIR}/webprotege.properties:ro \\\n      -v $(pwd)/config/mail.properties:${WP_CONFIG_DIR}/mail.properties:ro \\\n      --link mongodb -p 8888:8080 \\\n      skyplabs/webprotege\n\nNote that `application.version` and `data.directory` are defined in `Dockerfile` as environment variables and will overwrite the values contained in `webprotege.properties`. However, you can change them at build-time via the arguments `WEBPROTEGE_VERSION` and `WEBPROTEGE_DATA_DIR`.\n\nFor example:\n\n    docker build -t webprotege --build-arg WEBPROTEGE_DATA_DIR=/data/webprotege .\n\n## License\n\n[MIT][license]\n\n [docker-compose]: https://www.docker.com/products/docker-compose\n [license]: http://opensource.org/licenses/MIT\n [mail-properties]: config/mail.properties\n [microservice]: https://en.wikipedia.org/wiki/Microservices\n [mongodb]: https://www.mongodb.com/\n [webprotege]: https://protegewiki.stanford.edu/wiki/WebProtege\n [webprotege-cli]: https://github.com/protegeproject/webprotege/wiki/WebProt%C3%A9g%C3%A9-3.0.0-Installation#bootstrap-webprot%C3%A9g%C3%A9-with-an-admin-account\n [webprotege-properties]: config/webprotege.properties\n [webprotege-settings]: https://github.com/protegeproject/webprotege/wiki/WebProt%C3%A9g%C3%A9-3.0.0-Installation#edit-the-webprot%C3%A9g%C3%A9-settings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyplabs%2Fwebprotege-dockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyplabs%2Fwebprotege-dockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyplabs%2Fwebprotege-dockerfile/lists"}