Could you elaborate a bit on what the problem is you are trying to solve?
m
Marino Wijay
03/27/2023, 12:49 PM
An approach you could take, you could use IPtables to limit interactions/connections to your WireMock recorder.
https://docs.docker.com/network/iptables/
Docker Docs has some examples you can use.
Marino Wijay
03/27/2023, 12:50 PM
Or, if you want to be fancy, deploy this to Kubernetes, use a CNI like Cilium and use NetworkPolicy with a label-selector in case your WireMock pod gets re-deployed with a new IP.