This commit is contained in:
mpicci200_comcast
2025-01-08 16:46:13 -05:00
parent e6397b392c
commit fa96eda548
2 changed files with 60 additions and 31 deletions
+31 -2
View File
@@ -7,7 +7,7 @@ services:
depends_on:
- dynamodb
environment:
- "AWS_ENDPOINT=http://dynamodb:8000"
- "AWS_ENDPOINT=http://dynamodb:4566"
- "TRACING_PROVIDER_NAME=zipkin"
- "TRACING_PROVIDER_ENDPOINT=http://zipkin:9411/api/v2/spans"
- "ACCESS_LEVEL_CAPABILITY=x1:issuer:test:.*:all"
@@ -65,7 +65,14 @@ services:
networks:
- xmidt
ports:
- "9000:9000"
- "4566:4566"
healthcheck:
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
petasos:
container_name: petasos
depends_on:
@@ -187,6 +194,28 @@ services:
- xmidt
ports:
- "6100-6103:6100-6103"
awscli-dynamo:
image: amazon/aws-cli
networks:
- xmidt
depends_on:
dynamodb:
condition: service_healthy
ports:
- "4577:4577"
environment:
AWS_ACCESS_KEY_ID: accessKey
AWS_SECRET_ACCESS_KEY: secretKey
AWS_REGION: local
command: "dynamodb --endpoint-url http://dynamodb:4566 create-table \
--table-name gifnoc \
--attribute-definitions \
AttributeName=bucket,AttributeType=S \
AttributeName=expires,AttributeType=N \
AttributeName=id,AttributeType=S \
--key-schema \
AttributeName=bucket,KeyType=HASH \
AttributeName=id,KeyType=RANGE"
zipkin:
image: openzipkin/zipkin
networks: