Skip to content

Commit 3d1f8e0

Browse files
author
vluce
committed
feat: add localstack configuration to local dockerfile
1 parent 51e8ab9 commit 3d1f8e0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docker/local.docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,18 @@ services:
1010
- POSTGRES_PASSWORD=admin1234
1111
ports:
1212
- "5432:5432"
13+
14+
aws:
15+
image: 'localstack/localstack'
16+
container_name: 'localstack'
17+
environment:
18+
- SERVICES=sqs,s3,lambda,ssm,logs,iam,events
19+
- DEFAULT_REGION=eu-west-3
20+
- AWS_DEFAULT_REGION=eu-west-3
21+
- DEBUG=1
22+
- DATA_DIR=/var/localstack/data
23+
- LAMBDA_EXECUTOR=docker
24+
ports:
25+
- '4566:4566'
26+
volumes:
27+
- /var/run/docker.sock:/var/run/docker.sock

0 commit comments

Comments
 (0)