8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d90f537 commit 1409082Copy full SHA for 1409082
cmd/localstack/main.go
@@ -28,10 +28,11 @@ func GetEnvOrDie(env string) string {
28
29
func InitLsOpts() *LsOpts {
30
return &LsOpts{
31
- InteropPort: GetEnvOrDie("LOCALSTACK_INTEROP_PORT"),
32
RuntimeEndpoint: GetEnvOrDie("LOCALSTACK_RUNTIME_ENDPOINT"),
33
RuntimeId: GetEnvOrDie("LOCALSTACK_RUNTIME_ID"),
34
- InitTracingPort: GetEnvOrDie("LOCALSTACK_RUNTIME_TRACING_PORT"),
+ // optional with default
+ InteropPort: GetenvWithDefault("LOCALSTACK_INTEROP_PORT", "9563"),
35
+ InitTracingPort: GetenvWithDefault("LOCALSTACK_RUNTIME_TRACING_PORT", "9564"),
36
}
37
38
0 commit comments