-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (36 loc) · 931 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
36
37
38
39
40
41
42
version: "3"
services:
student-test-localstack:
image: localstack/localstack:0.10.9
container_name: student-test-localstack
ports:
- "4567-4597:4567-4597"
- "8010:8010"
environment:
- SERVICES=dynamodb
- DEBUG=${DEBUG- }
- DATA_DIR=/tmp/localstack/data
- PORT_WEB_UI=8010
- LAMBDA_EXECUTOR=docker-reuse
- DOCKER_HOST=unix:///var/run/docker.sock
- DEFAULT_REGION=ap-southeast-1
volumes:
- my-datavolume:/tmp/localstack
- /var/run/docker.sock:/var/run/docker.sock
networks:
- backend
student-test-dynamodb-admin:
depends_on:
- student-test-localstack
image: aaronshaf/dynamodb-admin
container_name: student-test-dynamodb-admin
ports:
- 8020:8001
environment:
- DYNAMO_ENDPOINT=http://student-test-localstack:4569
networks:
- backend
volumes:
my-datavolume:
networks:
backend: