Data Annotator for Machine Learning (DAML) run with docker
June 28, 2022 ยท View on GitHub
Tools used
Please go to https://docs.docker.com/get-docker/ to download the proper docker version for your machine.
- If your machine is Windows / Mac you can only use docker desktop, to run the application.
- If your machine is Linux you also need to download docker-compose. https://docs.docker.com/compose/install/
Start/End application
In active-learning-service we use en_core_web_md as the default spacy module if you want to replace it. you can directly replace it in the docker-compose file. eg. - SPACY_MODEL=zh_core_web_md for spacy models ref: https://spacy.io/models
-
If your machine already installed MongoDB, and you want to use that as the database. you need to download the docker-compose-host-db.yml file and use it to run the DAML application.
Start the containers:
docker compose -f docker-compose-host-db.yml upEnd the containers:
docker compose -f docker-compose-host-db.yml down -
Else you need to download the docker-compose.yml file and use it to run the DAML application.
Start the containers:
docker compose -f docker-compose.yml upEnd the containers:
docker compose -f docker-compose.yml down
How to use
Open http://localhost:4200 with your browser, now you can use full of the DAML application functions.
More commands
For more commands you can reference here docker compose commands.