Skip to content

Commit

Permalink
Improve reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Aug 2, 2023
1 parent 544aa6e commit 2227738
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions services
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ stoppingContainers () {

displayServices () {
echo ""
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" --filter name=$1-*
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" --filter name="$1"
echo ""
}

Expand All @@ -217,10 +217,10 @@ case "${command}" in
echo -e "- Data models \033[1m@context\033[0m (Smart Farm) is supplied externally"
echo ""
${dockerCmd} -f docker-compose/common.yml -f docker-compose/orion-ld.yml up -d --remove-orphans --renew-anon-volumes
displayServices "orion|fiware"
waitForMongo
addDatabaseIndex
addIoTDatabaseIndex
displayServices fiware
waitForOrion
export CONTEXT_BROKER=orion:1026
loadData
Expand All @@ -237,9 +237,9 @@ case "${command}" in
echo -e "- Data models \033[1m@context\033[0m (Smart Farm) is supplied externally"
echo ""
${dockerCmd} -f docker-compose/common.yml -f docker-compose/scorpio-aaio.yml up -d --remove-orphans --renew-anon-volumes
displayServices "scorpio|fiware"
waitForMongo
addIoTDatabaseIndex
displayServices fiware
waitForScorpio
export CONTEXT_BROKER=scorpio:9090
loadData
Expand All @@ -256,9 +256,9 @@ case "${command}" in
echo -e "- Data models \033[1m@context\033[0m (Smart Farm) is supplied externally"
echo ""
${dockerCmd} -f docker-compose/common.yml -f docker-compose/stellio.yml up -d --remove-orphans --renew-anon-volumes
displayServices "stellio|fiware"
waitForMongo
addIoTDatabaseIndex
displayServices fiware
waitForStellio
export CONTEXT_BROKER=stellio:8080
loadData
Expand Down

0 comments on commit 2227738

Please sign in to comment.