File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818#
1919version : " 3.8"
2020services :
21- # Orion LD is the context broker
22- orion :
21+ # Orion- LD is an NGSI-LD context broker
22+ orion-ld :
2323 labels :
2424 org.fiware : ' tutorial'
2525 image : quay.io/fiware/orion-ld:${ORION_LD_VERSION}
2626 hostname : orion
27- container_name : fiware-orion
27+ container_name : fiware-orion-ld
2828 depends_on :
2929 - mongo-db
3030 networks :
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ getHeartbeat(){
4141 eval " response=$( docker run --network fiware_default --rm quay.io/curl/curl -s -o /dev/null -w " %{http_code}" " $1 " ) "
4242}
4343
44- waitForOrion () {
44+ waitForOrionLD () {
4545 echo -e " \n⏳ Waiting for \033[1;34mOrion-LD\033[0m to be available\n"
4646
47- while ! [ ` docker inspect --format=' {{.State.Health.Status}}' fiware-orion` == " healthy" ]
47+ while ! [ ` docker inspect --format=' {{.State.Health.Status}}' fiware-orion-ld ` == " healthy" ]
4848 do
4949 echo -e " \nContext Broker HTTP state: ${response} (waiting for 200)"
5050 pause 6
@@ -177,7 +177,7 @@ case "${command}" in
177177 ${dockerCmd} -f docker-compose/common.yml -f docker-compose/orion-ld.yml up -d --remove-orphans --renew-anon-volumes
178178 waitForMongo
179179 addDatabaseIndex
180- waitForOrion
180+ waitForOrionLD
181181 export CONTEXT_BROKER=orion:1026
182182 loadData
183183 displayServices fiware
You can’t perform that action at this time.
0 commit comments