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

How to use environment variable #953

Closed
marspox opened this issue Jun 12, 2023 · 3 comments
Closed

How to use environment variable #953

marspox opened this issue Jun 12, 2023 · 3 comments
Labels

Comments

@marspox
Copy link

marspox commented Jun 12, 2023

Hi there,
I have created Azure Web App Container
I have added the environment variable WIREMOCKSERVERSETTINGS__ALLOWPARTIALMAPPING then after restarting the app and getting the settings by calling /__admin/settings AllowPartialMapping was still false.
How the environment variable should look to set proxy URL etc?

image

image

@StefH
Copy link
Collaborator

StefH commented Jun 12, 2023

@marspox
Currently, the configuration can only be set using startup arguments. I'll take a look if environment parsing can be added.

@StefH StefH transferred this issue from WireMock-Net/WireMock.Net-docker Jun 12, 2023
@StefH
Copy link
Collaborator

StefH commented Jun 12, 2023

@marspox

A preview version is available: 1.5.28-ci-17500

https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions

@StefH StefH added the feature label Jun 13, 2023
@StefH
Copy link
Collaborator

StefH commented Jun 22, 2023

Will be included in next Docker release.

@StefH StefH closed this as completed Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants