How to use environment variable #517

Closed
opened 2025-12-29 08:29:24 +01:00 by adam · 3 comments
Owner

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?

image

image

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? ![image](https://github.com/WireMock-Net/WireMock.Net-docker/assets/7716006/90af56f2-f3a0-45ab-a521-7b5163841b59) ![image](https://github.com/WireMock-Net/WireMock.Net-docker/assets/7716006/611277e0-7522-431b-9f02-fbe4ed8bbd13)
adam added the feature label 2025-12-29 08:29:24 +01:00
adam closed this issue 2025-12-29 08:29:25 +01:00
Author
Owner

@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 Currently, the configuration can only be set using startup arguments. I'll take a look if environment parsing can be added.
Author
Owner

@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 12, 2023): @marspox A preview version is available: 1.5.28-ci-17500 https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions
Author
Owner

@StefH commented on GitHub (Jun 22, 2023):

Will be included in next Docker release.

@StefH commented on GitHub (Jun 22, 2023): Will be included in next Docker release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#517