This commit is contained in:
mpicci200_comcast
2025-01-08 16:55:47 -05:00
parent fa96eda548
commit 3019416d25
2 changed files with 16 additions and 12 deletions

View File

@@ -3,12 +3,12 @@
DIR=$( cd "$(dirname "$0")" || exit; pwd -P )
ROOT_DIR=$DIR/../../
pushd "$ROOT_DIR" || exit
# echo "Building Simulator..."
# if [[ "$(docker images -q xmidt/simulator:latest 2> /dev/null)" == "" ]]; then
# docker build -t xmidt/simulator:latest $ROOT_DIR/simulator
# fi
popd
# pushd "$ROOT_DIR" || exit
# # echo "Building Simulator..."
# # if [[ "$(docker images -q xmidt/simulator:latest 2> /dev/null)" == "" ]]; then
# # docker build -t xmidt/simulator:latest $ROOT_DIR/simulator
# # fi
# popd
echo "Running services..."
CONSUL_VERSION=${CONSUL_VERSION:-1.12.6} \

View File

@@ -62,17 +62,22 @@ services:
container_name: dynamo-xmidt
hostname: dynamodb
image: amazon/dynamodb-local
environment:
AWS_ACCESS_KEY_ID: accessKey
AWS_SECRET_ACCESS_KEY: secretKey
AWS_REGION: local
command: -jar DynamoDBLocal.jar -inMemory -sharedDb -port 4566
networks:
- xmidt
ports:
- "4566:4566"
healthcheck:
test:
test:
["CMD-SHELL",'if [ "$(curl -s -o /dev/null -I -w ''%{http_code}'' http://localhost:4566)" == "400" ]; then exit 0; else exit 1; fi',]
interval: 5s
timeout: 30s
retries: 3
start_period: 5s
interval: 5s
timeout: 30s
retries: 3
start_period: 5s
petasos:
container_name: petasos
depends_on:
@@ -222,4 +227,3 @@ services:
- xmidt
ports:
- "9411:9411"
version: "3.8"