better healthchecks
All checks were successful
continuous-integration/drone/push Build is passing

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