Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

add details for SERVICES configuration #904

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

steffyP
Copy link
Member

@steffyP steffyP commented Nov 9, 2023

Adds config details for new feature of strict services loading and the related env SERVICES

Copy link

github-actions bot commented Nov 9, 2023

🎊 PR Preview has been successfully built and deployed to https://localstack-docs-preview-pr-904.surge.sh 🎊

@steffyP steffyP requested a review from bentsku November 9, 2023 10:24
@steffyP steffyP mentioned this pull request Nov 9, 2023
15 tasks
@@ -33,7 +33,8 @@ Options that affect the core LocalStack system.
| `LS_LOG` | `trace`, `trace-internal`, `debug`, `info`, `warn`, `error`, `warning`| Specify the log level. Currently overrides the `DEBUG` configuration. `trace` for detailed request/response, `trace-internal` for internal calls, too. |
| `EXTERNAL_SERVICE_PORTS_START` | `4510` (default) | Start of the [External Service Port Range]({{< ref "external-ports" >}}) (inclusive). |
| `EXTERNAL_SERVICE_PORTS_END` | `4560` (default) | End of the [External Service Port Range]({{< ref "external-ports" >}}) (exclusive). |
| `EAGER_SERVICE_LOADING` | `0` (default) | Boolean that toggles lazy loading of services. If eager loading is enabled, services are started at LocalStack startup rather than their first use. Eager loading significantly increases LocalStack startup time. |
| `EAGER_SERVICE_LOADING` | `0` (default) \|`1` | Boolean that toggles lazy loading of services. If eager loading is enabled, services are started at LocalStack startup rather than their first use. Be aware that eager loading increases the LocalStack startup time. |
| `SERVICES`| `s3,sqs` | A comma-delimited string of services. If `SERVICES` is set LocalStack will only load the listed services. All other services will be disabled and cannot be used. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also maybe mention here how to get a list of all valid services here. (E.g. via the health endpoint?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, good point

Copy link
Contributor

@bentsku bentsku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! the comment of Dominik is great, this would be a great addition 😄

@steffyP steffyP merged commit 5405967 into release/v3.0 Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants