-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 1.2 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: "3.8"
services:
aws:
image: localstack/localstack:3.1.0@sha256:a47b435f876a100115d1d9f24e19b6b302cc7acb78b91e9258122116283ba462
restart: no
environment:
SERVICES: iam, ec2, sqs, s3, sts, kms, sns, ssm, cloudwatch, events, logs
GATEWAY_LISTEN: 0.0.0.0:45678
LOCALSTACK_HOST: localhost:45678
TEST_AWS_ACCOUNT_ID: 123456789012
DEBUG: "1"
extra_hosts:
- "notify.internal:host-gateway"
- "subscriber.internal:host-gateway"
networks:
- di-authentication-api-net
ports:
- 45678:45678
redis:
image: redis:6.0.5-alpine
restart: no
healthcheck:
test: '[[ $$(redis-cli ping 2> /dev/null) == "PONG" ]] || exit 1'
interval: 5s
timeout: 1m
ports:
- 6379:6379
networks:
- di-authentication-api-net
dynamodb:
command: "-jar DynamoDBLocal.jar -sharedDb -optimizeDbBeforeStartup -dbPath ."
restart: no
working_dir: /home/dynamodblocal
image: amazon/dynamodb-local:1.22.0
healthcheck:
test: curl http://localhost:8000
interval: 5s
timeout: 1m
ports:
- 8000:8000
networks:
- di-authentication-api-net
networks:
di-authentication-api-net: