forked from lookinglass-in/serverless-offline-localstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·30 lines (30 loc) · 925 Bytes
/
docker-compose.yml
File metadata and controls
executable file
·30 lines (30 loc) · 925 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
30
version: '2'
services:
serverless-node:
image: node:latest
working_dir: /app
volumes:
- .:/app
- ~/.aws/:/root/.aws
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_PROFILE
- AWS_SESSION_TOKEN
- AWS_SECURITY_TOKEN
localstack:
image: atlassianlabs/localstack
ports:
- "4567-4582:4567-4582"
- "8080:8080"
environment:
# Only start a subset of services required for testing.
- SERVICES=s3,sns,sqs,apigateway,lambda,dynamodb,dynamodbstreams,cloudformation
# - DEBUG=${DEBUG- }
# - DATA_DIR=${DATA_DIR- }
# - LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR- }
# - KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
# - DOCKER_HOST=unix:///var/run/docker.sock
# volumes:
# - "${TMP_DIR:-/tmp/localstack}:${TMP_DIR:-/tmp/localstack}"
# - "/var/run/docker.sock:/var/run/docker.sock"