We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
when i use docker-compose, i got the error
config.json
{ "listeners": { "*:8008": { "pass": "routes" } }, "routes": [ { "match": { "host": "a.test.com" }, "action": { "proxy": "http://q2:8001" } }, { "match": { "host": "b.test.com" }, "action": { "proxy": "http://q1:8002" } } ] }
docker-compose.yml
version: "3" services: center: build: "center" restart: always expose: - 443/tcp - 80/tcp ports: - 8008:8008 links: - q1 - q2 q1: build: "q1" ports: - 8001:8001 q2: build: "q2" ports: - 8002:8002