-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
27 lines (26 loc) · 1023 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
version: "3.8"
services:
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME:-localstack-main}"
image: localstack/localstack:latest
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
environment:
# LocalStack configuration: https://docs.localstack.cloud/references/configuration/
- AWS_ACCESS_KEY_ID=test
- AWS_SECRET_ACCESS_KEY=test
- AWS_DEFAULT_REGION=us-east-1
- LAMBDA_RUNTIME_ENVIRONMENT_TIMEOUT=300
- LAMBDA_IGNORE_ARCHITECTURE=1
- LAMBDA_REMOTE_DOCKER=0
- LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR-}
- DOCKER_HOST=unix:///var/run/docker.sock
- DB_ADDRESS=${DB_ADDRESS}
- LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN- }
- DISABLE_TRANSPARENT_ENDPOINT_INJECTION=1
- DEBUG=1
- IS_PROD="false"
volumes:
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack" #-pro"
- "/var/run/docker.sock:/var/run/docker.sock"