-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix autostart and add support for docker compose (#242)
Co-authored-by: steffyP <[email protected]>
- Loading branch information
Showing
6 changed files
with
58 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,15 @@ | ||
version: '2' | ||
version: "3.8" | ||
|
||
services: | ||
dev-env: | ||
build: | ||
context: . | ||
working_dir: /app | ||
volumes: | ||
- .:/app | ||
- ~/.aws/:/root/.aws | ||
- ~/.gitconfig:/root/.gitconfig | ||
- ~/.gitconfig.local:/root/.gitconfig.local | ||
environment: | ||
- AWS_ACCESS_KEY_ID | ||
- AWS_SECRET_ACCESS_KEY | ||
- AWS_PROFILE | ||
- AWS_SESSION_TOKEN | ||
- AWS_SECURITY_TOKEN | ||
- SNYK_TOKEN | ||
entrypoint: | ||
- /bin/bash | ||
localstack: | ||
container_name: "${LOCALSTACK_DOCKER_NAME:-localstack-main}" | ||
image: localstack/localstack | ||
ports: | ||
- "4567-4582:4567-4582" | ||
- "8080:8080" | ||
- "127.0.0.1:4566:4566" # LocalStack Gateway | ||
- "127.0.0.1:4510-4559:4510-4559" # external services port range | ||
environment: | ||
# Only start a subset of services required for testing. | ||
- SERVICES=s3,sns,sqs,apigateway,lambda,dynamodb,dynamodbstreams,cloudformation | ||
# - DEBUG=${DEBUG- } | ||
# - DATA_DIR=${DATA_DIR- } | ||
# - LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR- } | ||
# - KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- } | ||
# - DOCKER_HOST=unix:///var/run/docker.sock | ||
# volumes: | ||
# - "${TMP_DIR:-/tmp/localstack}:${TMP_DIR:-/tmp/localstack}" | ||
# - "/var/run/docker.sock:/var/run/docker.sock" | ||
# LocalStack configuration: https://docs.localstack.cloud/references/configuration/ | ||
- DEBUG=${DEBUG:-0} | ||
volumes: | ||
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack" | ||
- "/var/run/docker.sock:/var/run/docker.sock" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters