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 69120f3 commit 63c697c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions services
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,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 Down Expand Up @@ -210,9 +210,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/orion-ld.yml up -d --remove-orphans --renew-anon-volumes
displayServices "orion|fiware"
waitForMongo
addDatabaseIndex
displayServices fiware
waitForOrion
export CONTEXT_BROKER=orion:1026
loadData orion:1026
Expand All @@ -226,7 +226,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 fiware
displayServices "scorpio|fiware"
waitForMongo
addDatabaseIndex
waitForScorpio
export CONTEXT_BROKER=scorpio:9090
loadData scorpio:9090
Expand All @@ -240,7 +242,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 fiware
displayServices "stellio|fiware"
waitForMongo
addDatabaseIndex
waitForStellio
export CONTEXT_BROKER=stellio:8080
loadData stellio:8080
Expand Down

0 comments on commit 63c697c

Please sign in to comment.