Quick check to see if anyone can help me.
I can installed the httpbin by using the following commands
docker run -p 80:80 kennethreitz/httpbin
test service
curl http://localhost:80/json
This works.. but then I have problems with integrating it with the Docker Compose configuration.
I want to use this environment.. and service to perform the Python test scripts.
With my current configuration... I used an external contoller to perform the tests which all worked.
Now.. I want to work out how to get it all setup inside the Docker Compose example..
I tried using the following settings
let me know if I am missing anything.
ziti edge create config httpbin.intercept.v1 intercept.v1 '{"protocols":["tcp"],"addresses":["httpbin.ziti"], "portRanges":[{"low":2000, "high":2000}]}'
ziti edge create config httpbin.host.v1 host.v1 '{"protocol":"tcp", "address":"localhost","port":80 }'
ziti edge create service httpbin.svc --configs httpbin.intercept.v1,httpbin.host.v1 -a "httpbin-services"
ziti edge create service-policy httpbin.policy.dial Dial --identity-roles '#postgres-clients' --service-roles '#httpbin-services'
ziti edge create service-policy httpbin.policy.bind Bind --identity-roles '@ziti-edge-router' --service-roles '#httpbin-services'
.. maybe what I need to do is to install in the yaml file
.. but I really don't know how to do this..