-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
26 lines (26 loc) · 910 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
version: '3.8'
services:
dynamodb:
command: "-jar DynamoDBLocal.jar -sharedDb -dbPath ./data"
image: "amazon/dynamodb-local:latest"
ports:
- "8000:8000"
volumes:
- "./docker/dynamodb:/home/dynamodblocal/data"
working_dir: /home/dynamodblocal
localstack:
image: localstack/localstack:2.1
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # ext services port range
- "127.0.0.1:53:53" # DNS config
- "127.0.0.1:53:53/udp" # DNS config
- "127.0.0.1:443:443" # LocalStack HTTPS Gateway
environment:
- DEBUG=1
- PERSISTENCE=${PERSISTENCE-}
- DOCKER_HOST=unix:///var/run/docker.sock
- LS_LOG=trace
volumes:
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"