-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (27 loc) · 905 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (27 loc) · 905 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: "3.8"
services:
# Sourced from https://github.com/localstack/localstack/blob/master/docker-compose.yml
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
hostname: localstack
image: localstack/localstack
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
environment:
- DEBUG=${DEBUG-}
- HOSTNAME_EXTERNAL=localstack
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
dynamodbadmin:
container_name: "dynamodb-admin"
image: "aaronshaf/dynamodb-admin"
ports:
- "8001:8001"
environment:
DYNAMO_ENDPOINT: "http://localstack:4566"
AWS_REGION: "us-east-1"
depends_on:
- localstack