version: "0.5" is_strict: true processes: dns: command: ${TNGL_PC}/bin/svc/dns readiness_probe: exec: command: dig +short +time=1 +tries=1 @127.0.0.1 -p ${TNGL_DNS_PORT} plc.tngl.boltless.dev | grep -q ${TNGL_IP} period_seconds: 1 failure_threshold: 30 postgres: command: offline ${TNGL_PC}/bin/svc/postgres readiness_probe: exec: command: pg_isready -q -h 127.0.0.1 -p ${TNGL_PG_PORT} -U tnglr -d postgres period_seconds: 1 failure_threshold: 60 pg-init: command: offline ${TNGL_PC}/bin/svc/pg-init depends_on: postgres: condition: process_healthy availability: restart: "no" plc: command: offline ${TNGL_PC}/bin/svc/plc depends_on: pg-init: condition: process_completed_successfully readiness_probe: http_get: host: 127.0.0.1 scheme: http path: /_health port: ${TNGL_PLC_PORT} period_seconds: 1 failure_threshold: 60 caddy: command: offline ${TNGL_PC}/bin/svc/caddy readiness_probe: exec: command: tcp-up 127.0.0.1 ${TNGL_HTTPS_PORT} period_seconds: 1 failure_threshold: 30 pds: command: offline ${TNGL_PC}/bin/svc/pds depends_on: dns: condition: process_healthy caddy: condition: process_healthy plc: condition: process_healthy readiness_probe: http_get: host: 127.0.0.1 scheme: http path: /xrpc/_health port: ${TNGL_PDS_PORT} period_seconds: 1 failure_threshold: 180 init-data: command: ${TNGL_PC}/bin/svc/init-data depends_on: dns: condition: process_healthy caddy: condition: process_healthy pds: condition: process_healthy availability: restart: "no" knot2: command: offline ${TNGL_PC}/bin/svc/knot2 depends_on: init-data: condition: process_completed_successfully readiness_probe: http_get: host: 127.0.0.1 scheme: http path: / port: ${TNGL_KNOT_PORT} period_seconds: 1 failure_threshold: 120 hydrant: command: offline ${TNGL_PC}/bin/svc/hydrant depends_on: pds: condition: process_healthy knot2: condition: process_healthy readiness_probe: exec: command: tcp-up 127.0.0.1 ${TNGL_HYDRANT_PORT} period_seconds: 1 failure_threshold: 60