GraphQL provides a complete and understandable description of the data in our API, it helps the user to ask for exactly what they need.
This Docker image contains two vital components of the application
The installation requires mongodump created zip file in the following structure.
zipFile.zip
└─── iHOP
└─── articles.bson
articles.metadata.json
identifier_mapping.bson
identifier_mapping.metadata.json
pubmed.bson
pubmed.metadata.json
Docker Hub: rchattopadhyay/reach-api
docker run --name reach-api --expose 8080 \
-e "VIRTUAL_HOST=subdomain.domain.com" \
-e "LETSENCRYPT_HOST=subdomain.domain.com" \
-e "VIRTUAL_PORT=8080" \
-v /PATH/TO/mongo/dump.zip:/src/dataset.zip \
-d -t rchattopadhyay/reach-api:latest
In the machine, port 8080 for API and 27017 for MongoDB will be accessible using local ip.
git clone --branch docker-api https://github.com/RohitChattopadhyay/ihop-reach.gitdocker build -t reach-api .Content type
Image
Digest
Size
204 MB
Last updated
about 7 years ago
docker pull rchattopadhyay/reach-api