pkg/e2e/fixtures/dependencies/recreate-no-deps.yaml
raw| 1 | version: '3.8' |
| 2 | services: |
| 3 | my-service: |
| 4 | image: alpine |
| 5 | command: tail -f /dev/null |
| 6 | init: true |
| 7 | depends_on: |
| 8 | nginx: {condition: service_healthy} |
| 9 | |
| 10 | nginx: |
| 11 | image: nginx:alpine |
| 12 | stop_signal: SIGTERM |
| 13 | healthcheck: |
| 14 | test: "echo | nc -w 5 localhost:80" |
| 15 | interval: 2s |
| 16 | timeout: 1s |
| 17 | retries: 10 |