Joe Williams
08/13/2025, 6:33 PMjava.io.FileNotFoundException: /home/wiremock/./__files/responses
which makes sense because it seems like that path is incorrect. The problem is I can't figure out how to correct it.
I've defined wiremock in my docker compose (defined at .docker/compose.yml
as follows:
wiremock:
image: wiremock/wiremock:3.12.1
container_name: wiremock
ports:
- "3000:8080"
volumes:
- ../wire-mock:/home/wiremock
entrypoint: ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose"]
my wiremock directory is a top level directory at wire-mock
in the project
Any help would be greatly appreciated. thanks y'allLee Turner
08/14/2025, 8:09 AMwire-mock
to wiremock
?
I tend to map the individual directories myself. Not sure if that makes much of a difference though. Here is my example project that I use when playing around with docker and wiremock
https://github.com/leeturner/wiremock-standalone-docker-example
You can compare my docker compose file here - https://github.com/leeturner/wiremock-standalone-docker-example/blob/main/docker-compose.ymlLee Turner
08/14/2025, 8:12 AMresponses
directory in your __files
directory ? Is this being referenced from one of your stubs ?Joey Williams
08/14/2025, 11:49 AMJoey Williams
08/14/2025, 11:50 AMJoe Williams
08/14/2025, 1:50 PMwire-mock
didn't do anything 😞Lee Turner
08/14/2025, 1:52 PMJoe Williams
08/14/2025, 2:12 PM--global-response-templating
or --disable-gzip
, because removing both of those from the entry point fixed the issueJoe Williams
08/14/2025, 2:12 PMLee Turner
08/14/2025, 2:13 PM