Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localstack is starting with random ports #60

Open
igorvtorres opened this issue Nov 28, 2023 · 0 comments
Open

Localstack is starting with random ports #60

igorvtorres opened this issue Nov 28, 2023 · 0 comments

Comments

@igorvtorres
Copy link

When I start Localstack container, its start with random port as screenshot

image

Its because the framework is setting None to ports when start the container
image

Could you fix to pass the port that I have set in dict services?
ports={port: port for port in self.services.values()}

Or maybe create a function to that return the current port after localstack started?

I need that because I am using the localstack with spark and I need to set the end point configuration

spark_session.conf.set("spark.hadoop.fs.s3a.endpoint", "http://localhost.localstack.cloud:4566")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant