mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
How to use environment variable #517
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marspox on GitHub (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?
@StefH commented on GitHub (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 commented on GitHub (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 commented on GitHub (Jun 22, 2023):
Will be included in next Docker release.