Loading .github/workflows/dockerpublish.yml +2 −2 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ jobs: - name: Sleep for 30 seconds uses: jakejarvis/wait-action@master with: time: '30s' time: '10s' - name: Check running containers run: | docker-compose $(find -name 'docker-compose*.yml' -type f -printf '%p\t%d\n' 2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') \ Loading @@ -41,4 +41,4 @@ jobs: - name: Check health run: | docker-compose $(find -name 'docker-compose*.yml' -type f -printf '%p\t%d\n' 2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') \ ps | grep unhealthy; [ $? -eq 0 ] && exit 1 ps | grep unhealthy; ([ $? -eq 0 ] && exit 1) || exit 0 nginx/docker-compose.nginx.yml +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ services: restart: always healthcheck: test: ['CMD', 'curl', '0.0.0.0:80'] interval: 30s interval: 10s timeout: 10s retries: 5 labels: Loading Loading
.github/workflows/dockerpublish.yml +2 −2 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ jobs: - name: Sleep for 30 seconds uses: jakejarvis/wait-action@master with: time: '30s' time: '10s' - name: Check running containers run: | docker-compose $(find -name 'docker-compose*.yml' -type f -printf '%p\t%d\n' 2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') \ Loading @@ -41,4 +41,4 @@ jobs: - name: Check health run: | docker-compose $(find -name 'docker-compose*.yml' -type f -printf '%p\t%d\n' 2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') \ ps | grep unhealthy; [ $? -eq 0 ] && exit 1 ps | grep unhealthy; ([ $? -eq 0 ] && exit 1) || exit 0
nginx/docker-compose.nginx.yml +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ services: restart: always healthcheck: test: ['CMD', 'curl', '0.0.0.0:80'] interval: 30s interval: 10s timeout: 10s retries: 5 labels: Loading