mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-15 23:02:03 -05:00
[GH-ISSUE #170] How to add a custom template to the dokploy pre-installed on vps? #15384
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhxsinc on GitHub (Jun 8, 2025).
Original GitHub issue: https://github.com/Dokploy/templates/issues/170
I have a dokploy instance running on a Hostinger VPS. The dokploy instance runs in a docker container. I want to add a custom service template to it. How can I do this?
I originally thought that as long as I entered the container, I could add relevant files to the /app working directory, but /app contained all the built content, and it seemed that I couldn't add template files directly.
Any help?
@Siumauricio commented on GitHub (Jul 14, 2026):
You don't need to modify the container — Dokploy loads templates from a templates site. Two options: (1) paste your template's Base64 (from any templates-app deployment or built by hand: base64 of {"compose": "<docker-compose.yml>", "config": "<template.toml>"}) into Compose service → Advanced → Import; or (2) self-host this repo's app (app/ folder, pnpm build) and point Dokploy's template Base URL at it. See CONTRIBUTING.md for the template format.