If it’s listening on specifically 127.0.0.1
then it might be rejecting connections from other containers. Make sure it listens for 0.0.0.0
i.e. all IPs.
No, it’s Caddy’s job to handle HTTPS + domains. Your PWA app just needs to be accessible to Caddy over HTTP.