Skip to content

Commit

Permalink
Added SNS endpoint environment variables to default scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Visual-Vincent committed Jan 12, 2024
1 parent d44d06f commit 93d62b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/default-run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export AWS_ACCESS_KEY_ID=localstack
export AWS_SECRET_ACCESS_KEY=localstack
export AWS_REGION=eu-central-1
export AWS_S3_ENDPOINT_URL=http://host.docker.internal:4566
export AWS_SNS_ENDPOINT_URL=http://host.docker.internal:4566
export AWS_SQS_ENDPOINT_URL=http://host.docker.internal:4566
export AWS_S3_FORCE_PATH_STYLE=true

Expand All @@ -12,6 +13,7 @@ docker run -p 5000:80 \
-e AWS_SECRET_ACCESS_KEY \
-e AWS_REGION \
-e AWS_S3_ENDPOINT_URL \
-e AWS_SNS_ENDPOINT_URL \
-e AWS_SQS_ENDPOINT_URL \
-e AWS_S3_FORCE_PATH_STYLE \
--add-host=host.docker.internal:host-gateway \
Expand Down
1 change: 1 addition & 0 deletions scripts/default-run-unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export AWS_ACCESS_KEY_ID=localstack
export AWS_SECRET_ACCESS_KEY=localstack
export AWS_REGION=eu-central-1
export AWS_S3_ENDPOINT_URL=http://localhost:4566
export AWS_SNS_ENDPOINT_URL=http://localhost:4566
export AWS_SQS_ENDPOINT_URL=http://localhost:4566
export AWS_S3_FORCE_PATH_STYLE=true

Expand Down
1 change: 1 addition & 0 deletions scripts/default-run-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set AWS_ACCESS_KEY_ID=localstack
set AWS_SECRET_ACCESS_KEY=localstack
set AWS_REGION=eu-central-1
set AWS_S3_ENDPOINT_URL=http://localhost:4566
set AWS_SNS_ENDPOINT_URL=http://localhost:4566
set AWS_SQS_ENDPOINT_URL=http://localhost:4566
set AWS_S3_FORCE_PATH_STYLE=true

Expand Down

0 comments on commit 93d62b4

Please sign in to comment.