'How to run "--verbose" for wiremock in docker compose file
I want to get verbose output from mockwire when running in docker using docker compose file.
I tried these three ways but none of them work.
first way
services:
wiremock:
image: wiremock
ports:
- 8080:8080
restart: always
volumes:
- ./myfolder/mystuff:/home/wiremock
command: [--verbose]
second way
command: --verbose
third way
command:
- --verbose
I keep getting the error:
wiremock exec: "--verbose": executable file not found in $PATH: unknown
Solution 1:[1]
I've set up it in this way:
mocked-services:
image: wiremock/wiremock:2.33.2
command: "--global-response-templating --verbose"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Dmytro Melnychuk |