Browse Source
Revert "ci: remove redundant healthchecks"
This reverts commit 59697c60e6
.
Signed-off-by: rare-magma <rare-magma@posteo.eu>
pull/3614/head
rare-magma
1 year ago
Failed to extract signature
2 changed files with
10 additions and
1 deletions
-
docker/docker-compose.build.yml
-
docker/docker-compose.yml
|
@ -16,6 +16,11 @@ services: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
redis: |
|
|
redis: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
|
|
|
healthcheck: |
|
|
|
|
|
test: ['CMD-SHELL', 'curl -f http://localhost:3333/api/v1/health'] |
|
|
|
|
|
interval: 10s |
|
|
|
|
|
timeout: 5s |
|
|
|
|
|
retries: 5 |
|
|
postgres: |
|
|
postgres: |
|
|
image: postgres:15 |
|
|
image: postgres:15 |
|
|
env_file: |
|
|
env_file: |
|
|
|
@ -28,7 +28,11 @@ services: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
redis: |
|
|
redis: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
|
|
|
healthcheck: |
|
|
|
|
|
test: ['CMD-SHELL', 'curl -f http://localhost:3333/api/v1/health'] |
|
|
|
|
|
interval: 10s |
|
|
|
|
|
timeout: 5s |
|
|
|
|
|
retries: 5 |
|
|
postgres: |
|
|
postgres: |
|
|
image: docker.io/library/postgres:15 |
|
|
image: docker.io/library/postgres:15 |
|
|
cap_drop: |
|
|
cap_drop: |
|
|