WireMock.Net-docker
WireMock.Net-docker copied to clipboard
Is there a way to allow HTTPS connections
I ran into an issue where I was not able to mock responses when a client make an HTTPS request rather than an HTTP request. Is there a way to configure the standalone Wiremock docker container to support for both HTTP and HTTPS mocking?
This is currently what my docker-compose entry looks like for my Wiremock container.
users-service-mock:
container_name: users-service-mock
image: "sheyenrath/wiremock.net:1.3.3"
networks:
- users-https-test
ports:
- "80"
command:
- "--ReadStaticMappings"
- "true"
- "--WireMockLogger"
- WireMockConsoleLogger
volumes:
- type: bind
source: ./services/http-mocks/users-service-mock
target: /app/__admin/mappings