-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
30 lines (27 loc) · 981 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
# run: docker compose up --build
name: local-dynamodb-minio
services:
dynamodb:
# instead of "image: ...", use service specific Dockerfile, which will be updated by dependabot
# see https://github.com/dependabot/dependabot-core/issues/390#issuecomment-1062170379
build:
context: docker
dockerfile: dynamodb.Dockerfile
command: "-jar DynamoDBLocal.jar -sharedDb -dbPath ./data"
ports:
- '8000:8000'
volumes:
- "./docker_data/dynamodb:/home/dynamodblocal/data"
working_dir: /home/dynamodblocal
minio:
# since dependabot won't update minio's "RELEASE.date-time" tags, there's no point in using the above workaround
image: minio/minio:RELEASE.2024-11-07T00-52-20Z
command: server /data --console-address ":9001"
ports:
- '9000:9000'
- '9001:9001'
volumes:
- './docker_data/minio:/data'
environment:
- MINIO_ROOT_USER=dummyAccessKey
- MINIO_ROOT_PASSWORD=dummyAccessSecret