diff --git a/.github/workflows/api-v1-production-build.yml b/.github/workflows/api-v1-production-build.yml index d3a35bc8f4..8f59aa5480 100644 --- a/.github/workflows/api-v1-production-build.yml +++ b/.github/workflows/api-v1-production-build.yml @@ -56,10 +56,11 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 + --health-cmd "pg_isready -h 127.0.0.1 -U postgres" + --health-interval 2s + --health-timeout 3s + --health-retries 15 + --health-start-period 2s ports: - 5432:5432 steps: diff --git a/.github/workflows/e2e-api-v2.yml b/.github/workflows/e2e-api-v2.yml index 1eb9495971..d080eb8e29 100644 --- a/.github/workflows/e2e-api-v2.yml +++ b/.github/workflows/e2e-api-v2.yml @@ -43,10 +43,11 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 + --health-cmd "pg_isready -h 127.0.0.1 -U postgres" + --health-interval 2s + --health-timeout 3s + --health-retries 15 + --health-start-period 2s ports: - 5432:5432 redis: diff --git a/.github/workflows/e2e-app-store.yml b/.github/workflows/e2e-app-store.yml index 01952477b3..8a4ca30454 100644 --- a/.github/workflows/e2e-app-store.yml +++ b/.github/workflows/e2e-app-store.yml @@ -57,10 +57,11 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 + --health-cmd "pg_isready -h 127.0.0.1 -U postgres" + --health-interval 2s + --health-timeout 3s + --health-retries 15 + --health-start-period 2s ports: - 5432:5432 mailhog: diff --git a/.github/workflows/e2e-embed-react.yml b/.github/workflows/e2e-embed-react.yml index d82982fadb..80112c3e4b 100644 --- a/.github/workflows/e2e-embed-react.yml +++ b/.github/workflows/e2e-embed-react.yml @@ -57,10 +57,11 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 + --health-cmd "pg_isready -h 127.0.0.1 -U postgres" + --health-interval 2s + --health-timeout 3s + --health-retries 15 + --health-start-period 2s ports: - 5432:5432 strategy: diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.yml index 170270fb11..614b098d93 100644 --- a/.github/workflows/e2e-embed.yml +++ b/.github/workflows/e2e-embed.yml @@ -57,10 +57,11 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 + --health-cmd "pg_isready -h 127.0.0.1 -U postgres" + --health-interval 2s + --health-timeout 3s + --health-retries 15 + --health-start-period 2s ports: - 5432:5432 mailhog: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 9498cd5515..a5132a89d1 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -57,10 +57,11 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: calendso options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 + --health-cmd "pg_isready -h 127.0.0.1 -U postgres" + --health-interval 2s + --health-timeout 3s + --health-retries 15 + --health-start-period 2s ports: - 5432:5432 mailhog: