Repository navigation
DockTail 1.9.0
HTTPS services now redirect http:// to HTTPS by default. When a service uses service-protocol https on a service port other than 80, DockTail adds a port 80 listener that redirects to the full MagicDNS name (https://<name>.<tailnet>.ts.net), so http://api and http://api.your-tailnet.ts.net both end up on the HTTPS endpoint instead of hanging. To turn it off for a service, set docktail.service.http-redirect=false (or docktail.service.N.http-redirect=false for an indexed service); HTTPS keeps serving as before.
The redirect needs tailscaled 1.92 or newer on the host and MagicDNS turned on. On older daemons DockTail logs one warning and HTTPS works as before, without the redirect. With Tailscale API credentials, DockTail adds tcp:80 to new and existing Service definitions automatically (it never removes ports). Without credentials, DockTail logs one warning per service and HTTPS keeps working; add tcp:80 to the Service in the admin console if you want the redirect.
Services without a docktail.service.description label now get a description from their image: the OCI title:version, the OCI title, or the image reference without its digest. An empty description label still leaves the admin console comment alone. Thanks @zblach!
No Compose changes are required.
What's Changed
- Default the service description from the image by @zblach in #127
- Add HTTP to HTTPS redirect for services by @marvinvr in #129
Full Changelog: 1.8.7...1.9.0