Template for serving through an .onion address with Docker

I was thinking more along the lines of a <link rel=alternate> or an Alt-Svc: onion:8fd8279... HTTP header… something usable by the TBB.