forked from CoorpAcademy/serverless-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
82 lines (78 loc) · 2.11 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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: softwaremill/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
s3:
image: minio/minio:RELEASE.2020-06-14T18-32-17Z
command: server /data
ports:
- "9000:9000"
environment:
- AWS_ACCESS_KEY_ID=local
- AWS_SECRET_ACCESS_KEY=locallocal
- MINIO_ACCESS_KEY=local
- MINIO_SECRET_KEY=locallocal
- AWS_DEFAULT_REGION=eu-west-1
- AWS_ENDPOINT_URL=http://s3:9000
s3-create:
image: infrastructureascode/aws-cli:latest
links:
- s3
entrypoint: sh
command: ./create-buckets.sh
volumes:
- ./scripts/create-buckets.sh:/project/create-buckets.sh:ro
environment:
- AWS_ACCESS_KEY_ID=local
- AWS_SECRET_ACCESS_KEY=locallocal
- AWS_DEFAULT_REGION=eu-west-1
- AWS_ENDPOINT_URL=http://s3:9000