Install Dockploy
š” Tip: Please follow the install guide on dokploy! for your specific use case.
Now, letās dive into the good stuff! The following Traefik configuration enables you to serve your apps deployed through Dokploy on either *.example.tld or subdomains like *.dok.example.tld. In fact, you can even host your main website at example.tld and www.example.tld.
Iāve also updated the configuration to use dnsChallenge instead of httpChallenge. Why the change? In my specific setup, as mentioned before, I already had two Traefik instances in place before exploring platforms like Dokploy and Coolify. Many guides and videos suggest hosting on a VPS with a dedicated domain, but I already own a domain and have a robust infrastructure. Iāll be sharing details about whatās running in my setup in a future article. For now, though, thereās no need to pay for VPS hosting when all my services are securely routed through Traefik on port 443.
Traefik config
/etc/dokploy/traefik/traefik.yml
Traefik config
/etc/dokploy/traefik/dynamic/dokploy.yml