-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
36 lines (34 loc) · 1.1 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
version: "3.8"
networks:
ls:
driver: bridge
ipam:
config:
- subnet: 10.0.2.0/24
name: ls
services:
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME-localstack}"
environment:
- DEBUG=${DEBUG-1}
- DISABLE_CORS_CHECKS=1
- DISABLE_CUSTOM_CORS_APIGATEWAY=1
- DOCKER_HOST=unix:///var/run/docker.sock
- EXTRA_CORS_ALLOWED_ORIGINS=*
- MAIN_DOCKER_NETWORK=ls
- PERSISTENCE=${PERSISTENCE-}
env_file:
- ./.env.local
image: "localstack/localstack-pro:${LOCALSTACK_VERSION-2.3.2}"
networks:
ls:
ipv4_address: 10.0.2.20
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
- "127.0.0.1:53:53" # DNS config (required for Pro)
- "127.0.0.1:53:53/udp" # DNS config (required for Pro)
- "127.0.0.1:443:443" # LocalStack HTTPS Gateway (required for Pro)
volumes:
- "$PWD/api/user/.esbuild/.build/src/functions/graph/:$PWD/api/user/.esbuild/.build/src/functions/graph/"
- "/var/run/docker.sock:/var/run/docker.sock"