If the DNS resolves correctly, I don't see why not. The name would need to be a valid fqdn though since it has to be https.
Alternatively, since its on the same machine you could just make a post process script that saves the files to a directory that's shared with your other container(s).