Closed strowi closed 8 years ago
By default Maestro doesn't start the dependencies (unless you start everything with maestro start
). If you want Maestro to start the dependencies of a given service, you need to specify -d
:
maestro start -d registry-frontend
This might feel a little counter intuitive but it turns out to be the "safest" behavior, especially for stopping things. Let me know if that solves your problem!
Hi,
i seem to be running into another issue regarding dependencies...
When i have a service depending on 2 other containers and i restart only one of them, the main-service still looses the connection to the other one:
...
web2py:
image: x.y.z/web2py:latest
requires: [ mysql,redis ]
instances:
web2py-01:
ship: z.local
...
restarting mysql with 'maestro restart -rd mysql` will restart web2py, but loose the connection to the redis-container...
regards, strowi
Hi,
i seem to be having a problem with the requires dependency management. For example see the following services. I can start each one on their own without the requires-part.
But when no service is running and i issue a
maestro start registry-frontend
it hangs and gives the following error: