forked from CoorpAcademy/serverless-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
83 lines (79 loc) · 2.05 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
83
version: "3"
services:
dynamodb:
image: amazon/dynamodb-local:latest
ports:
- "8000:8000"
dynamodb-create:
image: amazon/aws-cli:latest
links:
- dynamodb
entrypoint: sh
command: create-tables.sh
volumes:
- ./scripts/create-tables.sh:/aws/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-native:latest
ports:
- "9324:9324"
command: "-Dnode-address.host=\"*\""
sqs-create:
image: amazon/aws-cli:latest
links:
- sqs
entrypoint: sh
command: create-queues.sh
volumes:
- ./scripts/create-queues.sh:/aws/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: instructure/kinesalite:latest
ports:
- "4567:4567"
kinesis-create:
image: amazon/aws-cli:latest
links:
- kinesis
entrypoint: sh
command: create-streams.sh
volumes:
- ./scripts/create-streams.sh:/aws/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:latest
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: amazon/aws-cli:latest
links:
- s3
entrypoint: sh
command: create-buckets.sh
volumes:
- ./scripts/create-buckets.sh:/aws/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