mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
Reduce docker service container health check wait times (#30703)
This commit is contained in:
parent
4a5442edaa
commit
2b10b0e027
12
.github/workflows/test-migrations.yml
vendored
12
.github/workflows/test-migrations.yml
vendored
@ -41,9 +41,9 @@ jobs:
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
@ -51,9 +51,9 @@ jobs:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "redis-cli ping"
|
--health-cmd "redis-cli ping"
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
|
||||||
|
60
.github/workflows/test-ruby.yml
vendored
60
.github/workflows/test-ruby.yml
vendored
@ -73,9 +73,9 @@ jobs:
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
@ -83,9 +83,9 @@ jobs:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "redis-cli ping"
|
--health-cmd "redis-cli ping"
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
|
||||||
@ -159,9 +159,9 @@ jobs:
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
@ -169,9 +169,9 @@ jobs:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "redis-cli ping"
|
--health-cmd "redis-cli ping"
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
|
||||||
@ -246,9 +246,9 @@ jobs:
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
@ -256,9 +256,9 @@ jobs:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "redis-cli ping"
|
--health-cmd "redis-cli ping"
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
|
||||||
@ -331,9 +331,9 @@ jobs:
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
@ -341,9 +341,9 @@ jobs:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "redis-cli ping"
|
--health-cmd "redis-cli ping"
|
||||||
--health-interval 10s
|
--health-interval 10ms
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 5
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
|
||||||
@ -354,9 +354,9 @@ jobs:
|
|||||||
xpack.security.enabled: false
|
xpack.security.enabled: false
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "curl http://localhost:9200/_cluster/health"
|
--health-cmd "curl http://localhost:9200/_cluster/health"
|
||||||
--health-interval 10s
|
--health-interval 2s
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 10
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 9200:9200
|
- 9200:9200
|
||||||
|
|
||||||
@ -368,9 +368,9 @@ jobs:
|
|||||||
DISABLE_SECURITY_PLUGIN: true
|
DISABLE_SECURITY_PLUGIN: true
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "curl http://localhost:9200/_cluster/health"
|
--health-cmd "curl http://localhost:9200/_cluster/health"
|
||||||
--health-interval 10s
|
--health-interval 2s
|
||||||
--health-timeout 5s
|
--health-timeout 3s
|
||||||
--health-retries 10
|
--health-retries 50
|
||||||
ports:
|
ports:
|
||||||
- 9200:9200
|
- 9200:9200
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user