uffizzi icon indicating copy to clipboard operation
uffizzi copied to clipboard

Support for the docker-compose `depends_on` option

Open moklidia opened this issue 2 years ago • 1 comments

Add support for depends_on short and long syntax as described in the documentation.

https://docs.docker.com/compose/compose-file/#depends_on

Kubernetes docs: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

moklidia avatar May 30 '22 15:05 moklidia

This is becoming increasingly important for previews, too many container restarts if container is not up.

How is init container like depends_on in this case ? This seems to be a harder problem than init container considering that the depends on chain can be like a DAG (directed acyclic graph).

Might be useful to get some inspiration from the tekton entrypoint https://github.com/tektoncd/pipeline/blob/main/cmd/entrypoint/README.md

waveywaves avatar Oct 12 '22 11:10 waveywaves