6 ms·
“Clients in that container won’t trust the cert”. Yeah, there’s the trick. “service-a.lcl.host:443300“ so when inside the container, won’t that resolve to 127.
by d_meeze 2y ago
“Clients in that container won’t trust the cert”. Yeah, there’s the trick.
“service-a.lcl.host:443300“ so when inside the container, won’t that resolve to 127.0.0.1 which is the container internal loopback interface not the docker host’s interface? Hence trying to connect to itself not its sibling.
- benburkert 2y agoright it's the loopback, but I believe docker-compose can forward loopback ports to the host (and then back into the other container) using links, but i'm fuzzy on the details and may be misremembering.