forked from laserdisc-io/fs2-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 756 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 756 Bytes
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
version: "2"
services:
minio:
image: minio/minio
ports:
- "9000:9000"
environment:
- "MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE"
- "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
command: server /data
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
ports:
- 4566:4566
environment:
- "SERVICES=sqs"
- "DEFAULT_REGION=us-east-1"