Ihar Hancharenka 2aba1731ba m
2025-06-13 11:13:27 +03:00

29 строки
818 B
Plaintext

https://wiremock.org/docs/standalone/docker/
https://hub.docker.com/r/wiremock/wiremock
https://github.com/wiremock/wiremock-docker
Inside the container, the WireMock uses /home/wiremock as the root
from which it reads the "mappings" and "__files" directories.
volumes
-v $PWD/wiremock-docker/samples/hello/stubs:/home/wiremock
# image: "wiremock/wiremock:latest"
# Sample compose file
version: "3"
services:
wiremock:
image: "wiremock/wiremock:latest"
container_name: my_wiremock
volumes:
- ./__files:/home/wiremock/__files
- ./mappings:/home/wiremock/mappings
entrypoint: ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose"]
curl 'http://localhost:8080/__admin/mappings'
2022
https://habr.com/ru/companies/rostelecom/articles/679276/