forked from CoorpAcademy/serverless-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.test.yml
56 lines (53 loc) · 1.39 KB
/
docker-compose.test.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
49
50
51
52
53
54
55
56
version: "3"
services:
dynamodb:
image: cnadiminti/dynamodb-local:latest
ports:
- "8000:8000"
dynamodb-create:
image: infrastructureascode/aws-cli:latest
links:
- dynamodb
entrypoint: sh
command: ./create-tables.sh
volumes:
- ./scripts/create-tables.sh:/project/create-tables.sh:ro
environment:
- AWS_ACCESS_KEY_ID=local
- AWS_SECRET_ACCESS_KEY=local
- AWS_DEFAULT_REGION=eu-west-1
- AWS_ENDPOINT_URL=http://dynamodb:8000
sqs:
image: s12v/elasticmq:latest
ports:
- "9324:9324"
sqs-create:
image: infrastructureascode/aws-cli:latest
links:
- sqs
entrypoint: sh
command: ./create-queues.sh
volumes:
- ./scripts/create-queues.sh:/project/create-queues.sh:ro
environment:
- AWS_ACCESS_KEY_ID=local
- AWS_SECRET_ACCESS_KEY=local
- AWS_DEFAULT_REGION=eu-west-1
- AWS_ENDPOINT_URL=http://sqs:9324
kinesis:
image: dlsniper/kinesalite:latest
ports:
- "4567:4567"
kinesis-create:
image: infrastructureascode/aws-cli:latest
links:
- kinesis
entrypoint: sh
command: ./create-streams.sh
volumes:
- ./scripts/create-streams.sh:/project/create-streams.sh:ro
environment:
- AWS_ACCESS_KEY_ID=local
- AWS_SECRET_ACCESS_KEY=local
- AWS_DEFAULT_REGION=eu-west-1
- AWS_ENDPOINT_URL=http://kinesis:4567