ci: wait for hstore container when starting hstream server
This commit is contained in:
parent
7bad7d68de
commit
bd2155198a
|
@ -5,8 +5,10 @@ services:
|
||||||
image: hstreamdb/hstream:v0.15.0
|
image: hstreamdb/hstream:v0.15.0
|
||||||
container_name: hstreamdb
|
container_name: hstreamdb
|
||||||
depends_on:
|
depends_on:
|
||||||
- zookeeper
|
zookeeper:
|
||||||
- hstore
|
condition: service_started
|
||||||
|
hstore:
|
||||||
|
condition: service_healthy
|
||||||
# ports:
|
# ports:
|
||||||
# - "127.0.0.1:6570:6570"
|
# - "127.0.0.1:6570:6570"
|
||||||
expose:
|
expose:
|
||||||
|
@ -53,7 +55,14 @@ services:
|
||||||
--use-tcp --tcp-host $$(hostname -I | awk '{print $$1}') \
|
--use-tcp --tcp-host $$(hostname -I | awk '{print $$1}') \
|
||||||
--user-admin-port 6440 \
|
--user-admin-port 6440 \
|
||||||
--param enable-dscp-reflection=false \
|
--param enable-dscp-reflection=false \
|
||||||
--no-interactive
|
--no-interactive \
|
||||||
|
> /data/store/hstore.log 2>&1
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "grep", "LogDevice Cluster running", "/data/store/hstore.log"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 60
|
||||||
|
start_period: 60s
|
||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
image: zookeeper
|
image: zookeeper
|
||||||
|
|
Loading…
Reference in New Issue