I got exactly this config working. The compose file wasn't the problem. I had to fiddle around with my caddy proxy setup. Do you want my settings? Or do you use something other than caddy?
That's my struggle now. Nothing more to scan. But it's like a rabbit hole. I'm actually make use of the ASN numbers and use a mail address to hord the digital papers, too.