Skip to content

Feat: Allow passing environment variables in to container#55

Open
ghost wants to merge 1 commit intomintel:masterfrom
neuronostics:feat/allow-overriding-environment-variables
Open

Feat: Allow passing environment variables in to container#55
ghost wants to merge 1 commit intomintel:masterfrom
neuronostics:feat/allow-overriding-environment-variables

Conversation

@ghost
Copy link

@ghost ghost commented Dec 19, 2022

In my usecase, I need to be able to configure some of the security environment variables when starting the localstack container. This PR passes an optional dictionary of extra settings when starting the container.

e.g.

localstack = pytest_localstack.patch_fixture(
    services={"s3"},
    container_env={
        "DISABLE_CORS_CHECKS": "1",
    },
)

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

Successfully merging this pull request may close these issues.

0 participants