diff --git a/services/package.json b/services/package.json index 6c3308826..87e9978dd 100644 --- a/services/package.json +++ b/services/package.json @@ -1,26 +1,27 @@ { "name": "services", "version": "1.0.0", "private": true, "license": "BSD-3-Clause", "scripts": { "build-all": "./scripts/build_base_image.sh && docker-compose build", "build-base-image": "./scripts/build_base_image.sh", "run-tunnelbroker-service": "./scripts/run_server_image.sh tunnelbroker", "test-tunnelbroker-service": "./scripts/test_service.sh tunnelbroker", "build-backup-base": "./scripts/build_base_image.sh && docker-compose build backup-base", "run-backup-service": "./scripts/run_server_image.sh backup", "test-backup-service": "./scripts/test_service.sh backup", "run-backup-service-dev-mode": "export COMM_SERVICES_DEV_MODE=1 && ./scripts/run_server_image.sh backup", "test-backup-service-dev-mode": "export COMM_SERVICES_DEV_MODE=1 && ./scripts/test_service.sh backup", "build-blob-base": "./scripts/build_base_image.sh && docker-compose build blob-base", "run-blob-service": "./scripts/run_server_image.sh blob", "test-blob-service": "./scripts/test_service.sh blob", "run-blob-service-dev-mode": "export COMM_SERVICES_DEV_MODE=1 && ./scripts/run_server_image.sh blob", "test-blob-service-dev-mode": "export COMM_SERVICES_DEV_MODE=1 && ./scripts/test_service.sh blob", "run-all-services": "./scripts/run_all_services.sh", "test-all-services": "./scripts/test_all_services.sh", "test-all-services-dev-mode": "export COMM_SERVICES_DEV_MODE=1 && ./scripts/test_all_services.sh", - "run-all-services-dev-mode": "export COMM_SERVICES_DEV_MODE=1 && ./scripts/run_all_services.sh" + "run-all-services-dev-mode": "export COMM_SERVICES_DEV_MODE=1 && ./scripts/run_all_services.sh", + "run-local-cloud": "./scripts/run_local_cloud.sh" } } diff --git a/services/scripts/run_local_cloud.sh b/services/scripts/run_local_cloud.sh new file mode 100755 index 000000000..9ac151ad9 --- /dev/null +++ b/services/scripts/run_local_cloud.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -e + +# use the commented-out command to force container recreation +# docker-compose up -d --force-recreate localstack +docker-compose up -d localstack + +pushd terraform + +./run.sh + +popd # terraform