1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-18 13:48:58 +02:00

Add health check to frontend

This commit is contained in:
Gastón Fournier 2025-04-17 12:36:55 +02:00
parent 3b7cedb82b
commit c1c19e307f
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -30,6 +30,12 @@ services:
- "3000:3000" - "3000:3000"
environment: environment:
UNLEASH_API: "http://unleash:4242/" UNLEASH_API: "http://unleash:4242/"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3000/login || exit 1
interval: 1s
timeout: 1m
retries: 10
start_period: 30s
unleash: unleash:
image: unleashorg/unleash-enterprise:latest image: unleashorg/unleash-enterprise:latest
pull_policy: "always" pull_policy: "always"