better healthchecks

This commit is contained in:
Moritz 2024-07-17 12:53:15 +02:00
parent 3b9bea3681
commit 38911193db

View File

@ -52,9 +52,9 @@ services:
- internal
- proxy
healthcheck:
test: "bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/9000; exit $$?;'"
test: "ak healthcheck"
interval: 30s
timeout: 10s
timeout: 30s
retries: 10
start_period: 5m
environment: *env
@ -108,6 +108,12 @@ services:
- source: flow_invalidation
target: /blueprints/6_flow_invalidation.yaml
environment: *env
healthcheck:
test: "ak healthcheck"
interval: 30s
timeout: 30s
retries: 10
start_period: 5m
db:
image: postgres:15.7