Loading services/docker-compose-capif.yml +12 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ services: build: context: ./helper platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading Loading @@ -42,6 +43,7 @@ services: build: context: ./TS29222_CAPIF_Access_Control_Policy_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -65,6 +67,7 @@ services: build: context: ./TS29222_CAPIF_API_Invoker_Management_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading Loading @@ -92,6 +95,7 @@ services: build: context: ./TS29222_CAPIF_API_Provider_Management_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -118,6 +122,7 @@ services: build: context: ./TS29222_CAPIF_Auditing_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -140,6 +145,7 @@ services: build: context: ./TS29222_CAPIF_Discover_Service_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -162,6 +168,7 @@ services: build: context: ./TS29222_CAPIF_Events_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -184,6 +191,7 @@ services: build: context: ./TS29222_CAPIF_Logging_API_Invocation_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -207,6 +215,7 @@ services: build: context: ./TS29222_CAPIF_Publish_Service_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -230,6 +239,7 @@ services: build: context: ./TS29222_CAPIF_Routing_Info_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -239,6 +249,7 @@ services: build: context: ./TS29222_CAPIF_Security_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading Loading @@ -293,6 +304,7 @@ services: build: context: ./nginx platforms: - linux/arm64 - linux/amd64 ports: - "8080:8080" Loading services/docker-compose-mock-server.yml +1 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ services: build: context: ./mock_server platforms: - linux/arm64 - linux/amd64 ports: - 9090:9090 Loading services/docker-compose-register.yml +1 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ services: build: context: ./register platforms: - linux/arm64 - linux/amd64 ports: - 8084:8080 Loading services/docker-compose-vault.yml +1 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ services: build: context: ./vault platforms: - linux/arm64 - linux/amd64 restart: unless-stopped ports: Loading services/run.sh +12 −4 Original line number Diff line number Diff line Loading @@ -73,6 +73,7 @@ if [ "$MONITORING_STATE" == "true" ] ; then echo '***Monitoring set as true***' echo '***Creating Monitoring stack***' DUID=$DUID DGID=$DGID docker compose -f "$SERVICES_DIR/monitoring/docker-compose.yml" build DUID=$DUID DGID=$DGID docker compose -f "$SERVICES_DIR/monitoring/docker-compose.yml" up --detach status=$? if [ $status -eq 0 ]; then Loading @@ -85,8 +86,9 @@ fi docker network create capif-network docker compose -f "$SERVICES_DIR/docker-compose-vault.yml" up --detach --build # docker compose -f "$SERVICES_DIR/docker-compose-vault.yml" up --detach --build docker compose -f "$SERVICES_DIR/docker-compose-vault.yml" build docker compose -f "$SERVICES_DIR/docker-compose-vault.yml" up --detach status=$? if [ $status -eq 0 ]; then echo "*** Vault Service Runing ***" Loading @@ -95,7 +97,9 @@ else exit $status fi CAPIF_HOSTNAME=$HOSTNAME MONITORING=$MONITORING_STATE LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-capif.yml" up --detach --build # CAPIF_HOSTNAME=$HOSTNAME MONITORING=$MONITORING_STATE LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-capif.yml" up --detach --build CAPIF_HOSTNAME=$HOSTNAME MONITORING=$MONITORING_STATE LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-capif.yml" build CAPIF_HOSTNAME=$HOSTNAME MONITORING=$MONITORING_STATE LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-capif.yml" up --detach status=$? if [ $status -eq 0 ]; then Loading @@ -107,7 +111,9 @@ fi CAPIF_PRIV_KEY_BASE_64=$(echo "$(cat nginx/certs/server.key)") CAPIF_PRIV_KEY=$CAPIF_PRIV_KEY_BASE_64 LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-register.yml" up --detach --build # CAPIF_PRIV_KEY=$CAPIF_PRIV_KEY_BASE_64 LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-register.yml" up --detach --build CAPIF_PRIV_KEY=$CAPIF_PRIV_KEY_BASE_64 LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-register.yml" build CAPIF_PRIV_KEY=$CAPIF_PRIV_KEY_BASE_64 LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-register.yml" up --detach status=$? if [ $status -eq 0 ]; then Loading @@ -121,6 +127,8 @@ if [ "$ROBOT_MOCK_SERVER" == "true" ] ; then echo '***Robot Mock Server set as true***' echo '***Creating Robot Mock Server stack***' # IP=$IP PORT=$PORT docker compose -f "$SERVICES_DIR/docker-compose-mock-server.yml" up --detach IP=$IP PORT=$PORT docker compose -f "$SERVICES_DIR/docker-compose-mock-server.yml" build IP=$IP PORT=$PORT docker compose -f "$SERVICES_DIR/docker-compose-mock-server.yml" up --detach status=$? if [ $status -eq 0 ]; then Loading Loading
services/docker-compose-capif.yml +12 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ services: build: context: ./helper platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading Loading @@ -42,6 +43,7 @@ services: build: context: ./TS29222_CAPIF_Access_Control_Policy_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -65,6 +67,7 @@ services: build: context: ./TS29222_CAPIF_API_Invoker_Management_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading Loading @@ -92,6 +95,7 @@ services: build: context: ./TS29222_CAPIF_API_Provider_Management_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -118,6 +122,7 @@ services: build: context: ./TS29222_CAPIF_Auditing_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -140,6 +145,7 @@ services: build: context: ./TS29222_CAPIF_Discover_Service_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -162,6 +168,7 @@ services: build: context: ./TS29222_CAPIF_Events_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -184,6 +191,7 @@ services: build: context: ./TS29222_CAPIF_Logging_API_Invocation_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -207,6 +215,7 @@ services: build: context: ./TS29222_CAPIF_Publish_Service_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -230,6 +239,7 @@ services: build: context: ./TS29222_CAPIF_Routing_Info_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading @@ -239,6 +249,7 @@ services: build: context: ./TS29222_CAPIF_Security_API platforms: - linux/arm64 - linux/amd64 expose: - "8080" Loading Loading @@ -293,6 +304,7 @@ services: build: context: ./nginx platforms: - linux/arm64 - linux/amd64 ports: - "8080:8080" Loading
services/docker-compose-mock-server.yml +1 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ services: build: context: ./mock_server platforms: - linux/arm64 - linux/amd64 ports: - 9090:9090 Loading
services/docker-compose-register.yml +1 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ services: build: context: ./register platforms: - linux/arm64 - linux/amd64 ports: - 8084:8080 Loading
services/docker-compose-vault.yml +1 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ services: build: context: ./vault platforms: - linux/arm64 - linux/amd64 restart: unless-stopped ports: Loading
services/run.sh +12 −4 Original line number Diff line number Diff line Loading @@ -73,6 +73,7 @@ if [ "$MONITORING_STATE" == "true" ] ; then echo '***Monitoring set as true***' echo '***Creating Monitoring stack***' DUID=$DUID DGID=$DGID docker compose -f "$SERVICES_DIR/monitoring/docker-compose.yml" build DUID=$DUID DGID=$DGID docker compose -f "$SERVICES_DIR/monitoring/docker-compose.yml" up --detach status=$? if [ $status -eq 0 ]; then Loading @@ -85,8 +86,9 @@ fi docker network create capif-network docker compose -f "$SERVICES_DIR/docker-compose-vault.yml" up --detach --build # docker compose -f "$SERVICES_DIR/docker-compose-vault.yml" up --detach --build docker compose -f "$SERVICES_DIR/docker-compose-vault.yml" build docker compose -f "$SERVICES_DIR/docker-compose-vault.yml" up --detach status=$? if [ $status -eq 0 ]; then echo "*** Vault Service Runing ***" Loading @@ -95,7 +97,9 @@ else exit $status fi CAPIF_HOSTNAME=$HOSTNAME MONITORING=$MONITORING_STATE LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-capif.yml" up --detach --build # CAPIF_HOSTNAME=$HOSTNAME MONITORING=$MONITORING_STATE LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-capif.yml" up --detach --build CAPIF_HOSTNAME=$HOSTNAME MONITORING=$MONITORING_STATE LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-capif.yml" build CAPIF_HOSTNAME=$HOSTNAME MONITORING=$MONITORING_STATE LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-capif.yml" up --detach status=$? if [ $status -eq 0 ]; then Loading @@ -107,7 +111,9 @@ fi CAPIF_PRIV_KEY_BASE_64=$(echo "$(cat nginx/certs/server.key)") CAPIF_PRIV_KEY=$CAPIF_PRIV_KEY_BASE_64 LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-register.yml" up --detach --build # CAPIF_PRIV_KEY=$CAPIF_PRIV_KEY_BASE_64 LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-register.yml" up --detach --build CAPIF_PRIV_KEY=$CAPIF_PRIV_KEY_BASE_64 LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-register.yml" build CAPIF_PRIV_KEY=$CAPIF_PRIV_KEY_BASE_64 LOG_LEVEL=$LOG_LEVEL docker compose -f "$SERVICES_DIR/docker-compose-register.yml" up --detach status=$? if [ $status -eq 0 ]; then Loading @@ -121,6 +127,8 @@ if [ "$ROBOT_MOCK_SERVER" == "true" ] ; then echo '***Robot Mock Server set as true***' echo '***Creating Robot Mock Server stack***' # IP=$IP PORT=$PORT docker compose -f "$SERVICES_DIR/docker-compose-mock-server.yml" up --detach IP=$IP PORT=$PORT docker compose -f "$SERVICES_DIR/docker-compose-mock-server.yml" build IP=$IP PORT=$PORT docker compose -f "$SERVICES_DIR/docker-compose-mock-server.yml" up --detach status=$? if [ $status -eq 0 ]; then Loading