-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 1.38 KB
/
docker-compose.yml
File metadata and controls
47 lines (45 loc) · 1.38 KB
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
41
42
43
44
45
46
47
version: '3.8'
services:
data-transform-serverless:
privileged: true
build:
context: ./
dockerfile: Dockerfile.app
ports:
- "9000:8000"
container_name: app
network_mode: bridge
depends_on:
- localstack
environment:
- AWS_ACCESS_KEY_ID=test
- AWS_SECRET_ACCESS_KEY=test
- AWS_ENDPOINT=http://${LOCALSTACK_REMOTE:-host.docker.internal}:4566
- AWS_REGION=eu-central-1
- AWS_ENV=test
- LOCALSTACK_HOSTNAME=${LOCALSTACK_REMOTE:-host.docker.internal}
localstack:
privileged: true
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
image: localstack/localstack
network_mode: bridge
ports:
- "4566:4566"
- "4571:4571"
- "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
environment:
- DEFAULT_REGION=eu-central-1
- SERVICES=serverless
- DEBUG=${DEBUG- }
- DEBUG=1
- DATA_DIR=/tmp/localstack/data # Enables persistent storage e.g. on local disk
- PORT_WEB_UI=${PORT_WEB_UI- }
- LAMBDA_EXECUTOR=docker
- LAMBDA_REMOTE_DOCKER=true
- LAMBDA_REMOVE_CONTAINERS=true
- KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
- DOCKER_HOST=unix:///var/run/docker.sock
- HOST_TMP_FOLDER=${TMPDIR}
volumes:
- "${TMPDIR:-/tmp/localstack}:/tmp/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"