Skip to content

Custom and "private" Dokploy templates #2414

@EdyTheCow

Description

@EdyTheCow

What problem will this feature address?

Currently the only way to take advantage of really useful features provided by Dokploy templates (template.toml) is by submitting one to the official templates repository. Which is fine, but those templates have to meet a certain standard and have somewhat useful use-case for others.

I believe there should be a way to create "private" templates for personal use. They are reusable with a ton of well thought out features such as "helpers" (https://github.com/Dokploy/templates?tab=readme-ov-file#helpers). It could be useful for personal projects when deploying to take advantage of "helpers" functionality.

Describe the solution you'd like

I am not too familiar with inner workings of Dokploy, but these are the alternatives of implementing I came up with:

  1. Probably the easiest method is to add an option for a custom endpoint to templates (https://github.com/Dokploy/templates). That way it could be self hosted and directly connect to Dokploy's UI.

  2. Allow deploying docker compose with template.toml directly from a git repo, similar to how it currently works but with template.toml support.

  3. Ability to add "helpers" functions inside .env files.

I would personally prefer self hosting templates because all of functionality is already there and because of ease of use since it's just a click of a button inside Dockploy's UI.

Describe alternatives you've considered

There aren't any alternatives to "helpers" functions because this is a Dokploy templates specific feature.

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions