News for hackers. Stuff that matters.
Re:Lcl.host: fast, easy HTTPS in your local dev environment by d_meeze on Wednesday March 20, 2024 @04:20PM (#39771554)
“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.

Re:Lcl.host: fast, easy HTTPS in your local dev environment by benburkert on Wednesday March 20, 2024 @04:58PM (#39771951)
right 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.