File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,7 @@ __pycache__
1717# System
1818
1919.DS_STORE
20+
21+ # LocalStack
22+
23+ volume /
Original file line number Diff line number Diff line change 1+ version : " 3.8"
2+
3+ services :
4+ localstack :
5+ container_name : " ${LOCALSTACK_DOCKER_NAME:-localstack-main}"
6+ image : localstack/localstack-pro # required for Pro
7+ ports :
8+ - " 127.0.0.1:4566:4566" # LocalStack Gateway
9+ - " 127.0.0.1:4510-4559:4510-4559" # external services port range
10+ - " 127.0.0.1:443:443" # LocalStack HTTPS Gateway (Pro)
11+ environment :
12+ # Activate LocalStack Pro: https://docs.localstack.cloud/getting-started/auth-token/
13+ - LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN:?} # required for Pro
14+ # LocalStack configuration: https://docs.localstack.cloud/references/configuration/
15+ - DEBUG=${DEBUG:-0}
16+ - EXTRA_CORS_ALLOWED_ORIGINS='*'
17+ - DISABLE_CUSTOM_CORS_APIGATEWAY=1
18+ - DISABLE_CUSTOM_CORS_S3=1
19+ # To setup the LocalStack Extensions
20+ - EXTENSION_AUTO_INSTALL=git+https://${GITHUB_TOKEN}@github.com/localstack/localstack-extension-event-studio/, localstack-extension-mailhog
21+ volumes :
22+ - " ${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
23+ - " /var/run/docker.sock:/var/run/docker.sock"
24+ env_file :
25+ - .env
You can’t perform that action at this time.
0 commit comments