forked from klothoplatform/StackPacks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (42 loc) · 1 KB
/
docker-compose.yml
File metadata and controls
47 lines (42 loc) · 1 KB
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
version: '3.8'
services:
dynamodb-local:
command: "-jar DynamoDBLocal.jar -sharedDb -dbPath ./data"
image: "amazon/dynamodb-local:latest"
container_name: dynamodb-local
ports:
- "8000:8000"
volumes:
- "./docker/dynamodb:/home/dynamodblocal/data"
working_dir: /home/dynamodblocal
minio:
image: minio/minio
ports:
- "9000:9000"
volumes:
- minio_data:/data
environment:
- "MINIO_ROOT_USER=minio"
- "MINIO_ROOT_PASSWORD=minio123"
command: server /data
createbuckets:
image: minio/mc
depends_on:
- minio
entrypoint:
- /bin/sh
- -ex
- -c
command:
- |
/usr/bin/mc alias set myminio http://minio:9000 minio minio123
/usr/bin/mc mb myminio/iac-store
/usr/bin/mc anonymous set public myminio/iac-store
dynamodb-admin:
image: aaronshaf/dynamodb-admin
environment:
- DYNAMO_ENDPOINT=http://dynamodb-local:8000
ports:
- "8001:8001"
volumes:
minio_data: