forked from delta-io/delta-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (36 loc) · 1.03 KB
/
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.9"
# Run below on the host to create the network first:
# docker network create delta-checkpoint
networks:
default:
external:
name: delta-checkpoint
services:
localstack:
image: localstack/localstack:0.12.11
ports:
- "4566:4566"
- "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
environment:
- SERVICES=s3,iam,lambda
- DEBUG=1
- DATA_DIR=/tmp/localstack/data
- PORT_WEB_UI=8080
- LAMBDA_EXECUTOR=docker
- DOCKER_HOST=unix:///var/run/docker.sock
- HOST_TMP_FOLDER=${TMPDIR}
- LAMBDA_DOCKER_NETWORK=delta-checkpoint
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:4566/health" ]
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
setup:
image: localstack/localstack:0.12.11
depends_on:
- localstack
entrypoint: "/bin/bash"
command:
- /setup-localstack.sh
volumes:
- "./bin/setup-localstack.sh:/setup-localstack.sh"
- "./lambda-delta-checkpoint.zip:/lambda-delta-checkpoint.zip"