CityOfZion / neo-local

Personal blockchain for NEO dApp development!
MIT License
52 stars 26 forks source link

CLI: No logic to test dependency containers #112

Closed nunojusto closed 5 years ago

nunojusto commented 5 years ago

Describe the Solution

When CLI starts containers must have a logic to test if a dependent container is already up and running.

Why?

Some services need other containers to start first. Like neo-scan with postgres. On docker-compose this is achieved with: depends_on CLI needs to mimic the same concept

Additional Context

This must be done with Health (Healthcheck) and ContainerState