-
-
Couldn't load subscription status.
- Fork 6
Docker Compose
Stef Heyenrath edited this page Oct 5, 2020
·
2 revisions
In case you want to use docker-compose to mount a volume to persist and read the static mapping .json files, use the following example:
version: "3.8"
services:
wiremock:
image: sheyenrath/wiremock.net
ports:
- "9091:80"
volumes:
- ./wiremock/mappings:/app/__admin/mappings
command: ["dotnet", "wiremock-net.dll", "--Urls", "http://*:80", "--ReadStaticMappings", "true", "--WireMockLogger", "WireMockConsoleLogger"]- Persist Static Mappings.