Run WebProtégé using Docker Compose
masterYou can run WebProtégé and MongoDB using Docker containers. This method uses pre-built images from Docker Hub.
Setup Steps:
- Start the containers in the background.
- Create an admin account using the CLI tool inside the container.
- Access the settings page to configure the system.
Data Persistence:
Data is persisted in the following local directories relative to your docker-compose.yml file:
- WebProtégé data:
./.protegedata/protege - MongoDB data:
./.protegedata/mongodb
Note: You can modify these paths in docker-compose.yml.
```bash
# 1. Start containers
docker-compose up -d
# 2. Create admin user
docker exec -it webprotege java -jar /webprotege-cli.jar create-admin-accountAfter running these, navigate to http://localhost:5000/#application/settings to define the System notification email address and application host URL, and to enable User creation, Project creation, and Project import.