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:
parent
3b7cedb82b
commit
c1c19e307f
6
.github/docker-compose.test.yml
vendored
6
.github/docker-compose.test.yml
vendored
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user