-
Notifications
You must be signed in to change notification settings - Fork 50
/
docker-compose.yml
36 lines (34 loc) · 1011 Bytes
/
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
version: "2"
services:
minio:
image: minio/minio
ports:
- "9000:9000"
- "9090:9090"
environment:
- "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE"
- "MINIO_ROOT_PASSWORD=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
command: server /data --console-address ":9090"
createbuckets:
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
/usr/bin/mc config host add testminio http://minio:9000 AKIAIOSFODNN7EXAMPLE wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY --api S3v4;
/usr/bin/mc mb testminio/resources;
/usr/bin/mc policy download testminio/resources;
exit 0;
"
localstack:
image: localstack/localstack:3
ports:
- 4566:4566
environment:
- "AWS_ACCESS_KEY_ID=dummy"
- "AWS_SECRET_ACCESS_KEY=dummy"
- "SERVICES=sqs,sns,kinesis,cloudwatch,dynamodb,sts"
- "DEFAULT_REGION=us-east-1"
- "USE_SSL=true"
volumes:
- "./scripts/localstack:/docker-entrypoint-initaws.d"