Confirmed the hard way on a real second-domain setup: TLS issuance
succeeded, the domain's Traefik labels were correctly applied to
frontend, and curl still got a clean 504 the entire time — because
dokploy-traefik (auto-provisioned once per VPS by Dokploy itself, not by
this project) had come back attached only to the default bridge network,
not dokploy-network, so it had no path to the container it was routing
to. Every other symptom pointed at a labels/DNS problem; it wasn't.
Documents the check (docker inspect dokploy-traefik's NetworkSettings)
and fix (docker network connect dokploy-network dokploy-traefik), plus
the caveat that the fix isn't persistent — it would need reapplying if
Dokploy ever recreates its own Traefik container.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y