[GH-ISSUE #170] How to add a custom template to the dokploy pre-installed on vps? #15384

Closed
opened 2026-07-14 22:40:35 -05:00 by GiteaMirror · 1 comment
Owner

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?

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?
Author
Owner

@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.

<!-- gh-comment-id:4971735286 --> @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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#15384