decentralized-identity / sidetree

Sidetree Specification and Reference Implementation
https://identity.foundation/sidetree/spec
Apache License 2.0
437 stars 112 forks source link

Added DB initialization retry on startup for better docker support #1195

Closed thehenrytsai closed 2 years ago

thehenrytsai commented 2 years ago

Core service can fail on startup during DB initialization in docker-compose when mongoDB is also being spun up and not ready to serve requests. This PR fixes that.