-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 788 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 788 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
31
32
33
34
35
36
37
38
39
version: '2.1'
services:
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
image: localstack/localstack
ports:
- "4572:4572"
#sqs
- "4576:4576"
- "8080:8080"
environment:
- SERVICES=s3,sqs
- LAMBDA_EXECUTOR=local
- LAMBDA_REMOTE_DOCKER=false
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
app:
build: .
volumes:
- .:/src
- nodemodules:/src/node_modules
restart: on-failure
# command: yarn test
ports:
- 3000:3000
links:
- localstack
depends_on:
- localstack
environment:
LOCALSTACK_HOST: localstack
S3_PORT: 4572
SQS_PORT: 4576
volumes:
nodemodules: {}