Last active
October 23, 2023 09:37
-
-
Save eliasnogueira/a59cf85ce38a8c2cdf166a53d01763bb to your computer and use it in GitHub Desktop.
Example of Wiremock docker usage mapping the internal files to the container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.9' | |
services: | |
wiremock: | |
image: "wiremock/wiremock:latest" | |
container_name: wiremock-credit-restriction-api | |
ports: | |
- "8087:8080" | |
volumes: | |
# copy the local Wiremock files (__files and mappings folder) into the container | |
- ./__files:/home/wiremock/__files | |
- ./mappings:/home/wiremock/mappings | |
entrypoint: ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment