Closed MarieSaphira closed 4 years ago
What if we add this wait for it config to the docker container config of the polystore api? Without it it doesn't work right? That way we don't have to 'polute' the compose file?
@OrfenCLMS what do you think about that?
@MarieSaphira I'm not sure i understand. What would i have to do on my end?
Adds wait-for-it functionality to the API container, so that the databases and polystore containers can be started from one docker-compose file. The API container waits for the polystore metadata database containing the ML and DL model to be ready.
To start the polystore run
docker-compose up -d
To stop the polystore run
docker-compose down
To have a look if the API parsed the models correctly run
docker logs <foldername>_typhon-polystore-service_1
It should contain something likeParsed: Host: documentdb, port: 27017, user: username, pass: password
for each of the databases