mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 02:46:53 +00:00
Ensure agent-services waits for API server to be ready (#129)
This commit is contained in:
parent
bf65ea7bd0
commit
abd65e103e
@ -154,6 +154,8 @@ services:
|
||||
- /opt/clearml/agent:/root/.clearml
|
||||
depends_on:
|
||||
- apiserver
|
||||
entrypoint: >
|
||||
bash -c "curl --retry 10 --retry-delay 10 --retry-connrefused 'http://apiserver:8008/debug.ping' && /usr/agent/entrypoint.sh"
|
||||
|
||||
networks:
|
||||
backend:
|
||||
|
Loading…
Reference in New Issue
Block a user