I’m faced with situation when containers should start in exact order. Application should be started only when Postgress database fully initialized. Such problem usually solved by “depends_on” instruction with healthcheck conditions in docker-compose file. But Pantaris doesn’t support version of compose file which allow to use such instruction. There is restriction to 3.2-3.7 versions where conditions weren’t support.
I also tried to use wait-for-it script and past it into entrypoint, but got the error:
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: “/app/wait-for-it.sh”: permission denied: unknown
How conditional order task is intendent to solve in Pantaris?