mirror of
https://github.com/codex-storage/codex-testnet-starter.git
synced 2025-02-23 07:38:12 +00:00
Health check that delays codex start by 3 seconds
This commit is contained in:
parent
632ea9ecf5
commit
a7fb036281
@ -42,7 +42,8 @@ services:
|
||||
volumes:
|
||||
- ./codex-data:/datadir
|
||||
depends_on:
|
||||
- geth
|
||||
geth:
|
||||
condition: service_healthy
|
||||
|
||||
# Geth init
|
||||
geth-init:
|
||||
@ -82,3 +83,8 @@ services:
|
||||
- ./geth-data:/data
|
||||
depends_on:
|
||||
- geth-init
|
||||
healthcheck:
|
||||
test: ["CMD", "sleep", "3"]
|
||||
interval: 3s
|
||||
timeout: 3s
|
||||
retries: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user