зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 05:06:05 +02:00
29 строки
818 B
Plaintext
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/
|