-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
40 lines (37 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: "3.8"
services:
localstack:
image: localstack/localstack:latest
ports:
- "53:53"
- "443:443"
- "4510-4520:4510-4520"
- "4566-4620:4566-4620"
environment:
- SERVICES=s3,sqs,sns,lambda
- DEFAULT_REGION=us-east-1
- LAMBDA_EXECUTOR=docker
- LAMBDA_REMOTE_DOCKER=true
- LAMBDA_REMOVE_CONTAINERS=true
- DATA_DIR=/tmp/localstack/data
- DEBUG=1
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "${TMPDIR:-/tmp/localstack}:/tmp/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
- ./bin:/docker-entrypoint-initaws.d
env_file:
- .env
networks:
- localstack
test-lambda:
image: test-lambda:latest
build:
context: ./lambdas/python-lambda
networks:
- localstack
networks:
localstack:
external: false
driver: bridge
name: localstack