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?
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.