diff options
Diffstat (limited to 'compose')
-rw-r--r-- | compose/config/drools-applications/env/base.conf | 7 | ||||
-rwxr-xr-x | compose/stop-compose.sh | 7 |
2 files changed, 9 insertions, 5 deletions
diff --git a/compose/config/drools-applications/env/base.conf b/compose/config/drools-applications/env/base.conf index 0f677239..4ac3330c 100644 --- a/compose/config/drools-applications/env/base.conf +++ b/compose/config/drools-applications/env/base.conf @@ -141,3 +141,10 @@ SDNC_PORT=6668 SDNC_CONTEXT_URI= SDNC_USERNAME= SDNC_PASSWORD= + +# CDS + +CDS_GRPC_HOST=grpc-sim +CDS_GRPC_PORT=6680 +CDS_GRPC_USERNAME="ccsdkapps" +CDS_GRPC_PASSWORD="ccsdkapps" diff --git a/compose/stop-compose.sh b/compose/stop-compose.sh index 809c8f47..493f9b57 100755 --- a/compose/stop-compose.sh +++ b/compose/stop-compose.sh @@ -42,7 +42,7 @@ source export-ports.sh > /dev/null 2>&1 source get-versions.sh > /dev/null 2>&1 echo "Collecting logs from docker compose containers..." -rm -rf docker_compose.log +rm -rf *.log # this will collect logs by service instead of mixing all together containers=$(docker compose ps --all --format '{{.Service}}') @@ -51,10 +51,7 @@ IFS=$'\n' read -d '' -r -a item_list <<< "$containers" for item in "${item_list[@]}" do if [ -n "$item" ]; then - echo "======== Logs from ${item} ========" >> docker_compose.log - docker compose logs $item >> docker_compose.log - echo "===================================" >> docker_compose.log - echo "" >> docker_compose.log + docker compose logs $item >> $item.log fi done |