dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Feature request: automatically generates domains

Open GabrielFNLima opened this issue 1 year ago • 4 comments

It will be good if Dokploy automatically generates domains like to Coolify and Vercel in the future.

GabrielFNLima avatar May 03 '24 23:05 GabrielFNLima

Hi @GabrielFNLima, Can you share more details about this feature? sounds good!

Where we can get this domains?

Siumauricio avatar May 04 '24 03:05 Siumauricio

Maybe you can prompt the user to provide a wildcard domain so you can generate domains for exposed services automatically example: servicename-with-hash.example.com

TheoCouss avatar May 04 '24 09:05 TheoCouss

you can have a look at how caprover implemented the wild card sub-sub domain. For example, during setup i can set the main domain or subdomain i want to use (e.g: domain.com), then i point A record of domain.com to my Dokploy instance. I just do this once, so when i create a new app, Dokploy will automatically create a subdomain + issue ssl based on the app settings. Let say if the app name is 'radarr', Dokploy will assign radarr.domain.com for the app public url.

In Caprover, I used sub-sub domain which also works. Example: app.mydomain.com point to server IP. All app will automatically get a public url like: https://appname.app.mydomain.com

ewallz avatar May 04 '24 13:05 ewallz

Here is relevant Coolify doc https://coolify.io/docs/knowledge-base/traefik/wildcard-certificates

dmatora avatar May 07 '24 07:05 dmatora

I am planning to work on this issue soon, the issue is that there will be users who do not use wildcards as is my case, I usually use 1 or 2 domains and that's all, which I think would not be adapted for any case, what we could do would be something similar, implement domains generated with https://traefik.me so anyone who does not have domains can have them.

Siumauricio avatar Jun 24 '24 05:06 Siumauricio

https://github.com/Dokploy/dokploy/pull/166#issuecomment-2189223897

akhil-naidu avatar Jun 25 '24 18:06 akhil-naidu