69 Commits

Author SHA1 Message Date
Mauricio Siu
ee0e6fba92 Enhance copilot instructions by adding verification steps for Docker images and clarifying URL variable usage. Emphasize the importance of verifying image existence before committing to prevent deployment failures. 2025-12-19 18:05:58 -06:00
Mauricio Siu
9433dce128 Remove pull request trigger from deploy-preview workflow 2025-12-19 18:00:36 -06:00
Mauricio Siu
211c2aeb60 docs: update copilot instructions to enforce open source requirement
Added a clear requirement stating that all services must be open source and only applications with open-source licenses (e.g., MIT, Apache, GPL, AGPL) are allowed. This update aims to ensure compliance and maintain the integrity of the project.
2025-12-19 17:52:07 -06:00
Mauricio Siu
dd8ef5b3c8 refactor: enhance Docker Compose validation workflow
Updated the GitHub Actions workflow for validating Docker Compose files by streamlining the detection of changed blueprints and improving the validation process. Removed redundant steps and consolidated the validation of docker-compose.yml and template.toml files into a more efficient structure. Added clearer output messages for validation results and ensured that best practices are checked for each blueprint. This refactor aims to improve maintainability and clarity in the CI/CD process.
2025-12-19 15:54:36 -06:00
Mauricio Siu
4757c59da3 docs: update copilot instructions to emphasize version pinning in docker-compose.yml
Clarified the importance of pinning image versions in docker-compose.yml and explicitly stated to avoid using the `latest` tag to prevent potential issues with template functionality when upstream images change.
2025-12-19 15:45:08 -06:00
Jainil Prajapati
726a8c6bc9 Updating copilot instructions.md and AGENTS.md (#452)
* docs: add copilot instructions for project development

Added comprehensive documentation file (.github/copilot-instructions.md) that provides detailed guidance on the Dokploy Open Source Templates project structure, development workflow, and conventions. The document covers the project overview, key files and directories, development workflow for adding/updating templates, local development setup, CI/CD processes, and established conventions and patterns. This documentation will help onboard new contributors and ensure consistent development practices across the project.

* docs(copilot-instructions): enhance project overview and development guide

Updated copilot instructions to reflect expanded app capabilities (200+ apps, TypeScript integration, Fuse.js search) and detailed processes for templates, local dev, and CI/CD for improved clarity and accuracy.

* refactor: remove frontend development instructions from AGENTS.md and update contributing guidelines

- Removed frontend development commands from AGENTS.md to streamline the document.
- Updated CONTRIBUTING.md by removing the recommendation to set `restart: unless-stopped` for services.

---------

Co-authored-by: Mauricio Siu <siumauricio@icloud.com>
2025-12-15 00:19:57 -06:00
Mauricio Siu
b4efed26a0 chore: add section for screenshots or videos in pull request template
- Introduced a new section in the pull request template to encourage contributors to include screenshots or videos, enhancing the clarity and context of their submissions.
2025-12-14 01:15:46 -06:00
Mauricio Siu
0e84b284d8 fix: update pull request template link for clarity
- Changed the link in the pull request template from 'general suggestions' to 'general requirements' to better reflect the content and ensure users follow the correct guidelines when creating templates.
2025-12-14 01:15:25 -06:00
Mauricio Siu
dcc456d18b refactor: enhance Docker Compose validation workflow to improve error handling
- Replaced the pipe with an array to handle directory names, ensuring that errors within the loop propagate correctly to the parent shell.
- Updated the loop structure for better reliability in processing the directories.
2025-12-14 00:00:54 -06:00
Mauricio Siu
b7f7c9ffb8 fix: improve Docker Compose validation workflow to handle subshell issues
- Converted the handling of COMPOSE_FILES from a pipe to an array to ensure error propagation in the parent shell.
- Updated the loop to iterate over the array for better reliability in the validation process.
2025-12-13 23:51:28 -06:00
Mauricio Siu
abd316fd6e feat: add validation scripts and configuration for Docker Compose and template files
- Introduced a GitHub Actions workflow to validate Docker Compose files and template.toml on pull requests.
- Added helper functions for generating random values and processing variables in templates.
- Implemented validation scripts for checking the structure, syntax, and best practices of Docker Compose and template files.
- Created necessary TypeScript types and configuration files for the build scripts.
2025-12-13 14:38:37 -06:00
Mauricio Siu
f78cc8d51f fix: update pull request template to clarify issue closing keywords 2025-12-13 01:45:43 -06:00
Mauricio Siu
7834542c9c feat: add pull request template for improved contribution guidelines 2025-12-13 01:45:06 -06:00
Mauricio Siu
8ec4ad1d9c Refactor GitHub workflow: uncomment build preview steps for improved deployment process and clarity. 2025-11-28 02:03:42 -06:00
Mauricio Siu
3ec51b85bf Remove unnecessary blank line in deploy-preview.yml for improved readability. 2025-11-28 02:03:23 -06:00
Mauricio Siu
a91730e582 Refactor GitHub workflow: comment out build preview steps for clarity and future modifications. 2025-11-28 01:56:31 -06:00
Mauricio Siu
b56d2b6d8c Enhance GitHub workflows: add production deployment configuration and target 'canary' branch for pull requests. 2025-11-28 01:46:41 -06:00
Mauricio Siu
e66cad204d Update GitHub workflows to target 'canary' branch for meta validation 2025-11-28 01:25:36 -06:00
Jainil Prajapati
313dc9d57e docs: reorganize GitHub directory structure and improve PR template (#413)
* docs: reorganize GitHub directory structure and improve PR template

- Move pull_request_template.md from .github/.github/ to .github/
- Change PR template heading from markdown level 2 to level 1
- Convert README.md reference in PR template to a markdown link

* chore: move pull request template to uppercase directory

Relocated pull_request_template.md from .github/ to .github/PULL_REQUEST_TEMPLATE/
to align with GitHub's recommended directory structure. No content changes.

* added

* chore: remove outdated pull request templates for bug fixes, documentation updates, and feature additions

* chore: remove outdated pull request template

* chore: replace old pull request template with a new structured version

* chore: add contributing guidelines for Dokploy Open Source Templates

* chore: update contributing guidelines and refine pull request template

- Changed validation step in contributing guidelines to use `node dedupe-and-sort-meta.js`.
- Simplified pull request template by removing unnecessary sections and improving checklist formatting.

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
2025-10-25 18:53:49 -06:00
Jainil Prajapati
c6b0d0e203 docs: add copilot instructions for project development (#412)
Added comprehensive documentation file (.github/copilot-instructions.md) that provides detailed guidance on the Dokploy Open Source Templates project structure, development workflow, and conventions. The document covers the project overview, key files and directories, development workflow for adding/updating templates, local development setup, CI/CD processes, and established conventions and patterns. This documentation will help onboard new contributors and ensure consistent development practices across the project.
2025-10-04 22:30:27 -06:00
Jainil Prajapati 🪐
8142693922 The meta.json glow-up nobody saw coming (#281)
* removed

n8n (appears 2 times)
Authelia (appears 2 times)
SupaBase (appears 2 times)
Livekit (appears 2 times)
WG-Easy (appears 2 times)
Open Notebook (appears 2 times)
Booklore (appears 2 times)
Scrypted (appears 2 times)
Wallos (appears 2 times)
Statping-NG (appears 2 times)

* Replace application catalog entries with new software entries

* Test 1

* Updated Scripts

* Final Test

* Fix

* Remove redundant dependency installation steps from GitHub Actions workflow

* Test 2

* Update meta sorting logic to ASCII order and add --backup option for deduplication

* Fix meta.json: Remove duplicates and apply correct ASCII sorting

- Remove duplicate entries: scrypted, searxng (243 → 241 entries)
- Fix sorting algorithm to use ASCII order for CI/CD compatibility
- Update both dedupe-and-sort-meta.js and build-scripts/process-meta.js
- Add missing --backup CLI argument to build script
- Ensure consistent sorting across all processing interfaces

* Fix CI/CD pipeline: Count JSON entries instead of lines

- Update validate-meta.yml to count JSON entries using Node.js instead of wc -l
- Add custom JSON formatting functions to both processing scripts
- Ensure consistent output formatting across all processing interfaces
- Fix false positive where line count increased due to expanded JSON formatting

The CI/CD failure was caused by counting file lines (4124) instead of actual
JSON entries (241). Both files now produce identical results with proper
entry counting in the validation workflow.

* Fix meta.json formatting to match processing script output

- Apply consistent JSON formatting to meta.json using processing script
- Ensure file formatting matches expected CI/CD workflow output
- Files now pass diff comparison in validation workflow

This resolves the CI/CD pipeline failure where files had identical content
but different formatting, causing diff validation to fail.

* Test 3

* Removed duplicate and action worked :)

* Remove pull_request_template.md

* Remove duplicate meta entries to prevent processing conflicts

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
2025-08-16 00:20:14 -06:00
Mauricio Siu
b6e487550d Add pull request template for consistent PR submissions
- Introduced a new pull request template to guide contributors in providing necessary information and ensuring best practices are followed before submission.
- Included a checklist for testing and issue linking to streamline the review process.
2025-07-06 17:44:13 -06:00
Mauricio Siu
9d850a0672 feat: add bug report template for open source projects 2025-06-01 15:21:32 -06:00
Mauricio Siu
963bb37adf chore: update feature request template to improve clarity and remove required fields 2025-06-01 15:17:30 -06:00
Mauricio Siu
5a657cedfd feat: add feature request template for new project suggestions 2025-06-01 15:16:40 -06:00
Mauricio Siu
8069689a73 chore: streamline meta.json validation process by removing debug output and optimizing entry checks 2025-04-03 00:40:08 -06:00
Mauricio Siu
076c82490c chore: improve meta.json validation with detailed error reporting and debug output 2025-04-03 00:38:14 -06:00
Mauricio Siu
38e0936ae5 chore: add validation checks for meta.json in CI workflow 2025-04-03 00:36:15 -06:00
Mauricio Siu
fc4d766fd9 chore: enhance README with new helper variables and add meta.json validation in CI workflow 2025-04-03 00:26:57 -06:00
Mauricio Siu
d21f87f42c fix: update template file extension in validation workflow
- Changed the expected template file from 'template.yml' to 'template.toml' in the GitHub Actions validation workflow to reflect recent changes in file format.
2025-03-30 00:52:31 -06:00
Mauricio Siu
46664e05d5 refactor: clean up build preview workflow by removing commented deployment steps
- Removed commented-out deployment steps for Cloudflare Pages to enhance clarity and focus on the build process.
- Maintained the artifact upload step to ensure build outputs are preserved.
2025-03-16 12:49:58 -06:00
Mauricio Siu
05c8bcd839 feat: add deploy preview workflow for Cloudflare Pages
- Introduced a new GitHub Actions workflow to handle deployment of preview builds to Cloudflare Pages upon successful completion of the build preview workflow.
- Configured necessary permissions and steps for downloading build artifacts and deploying to the specified Cloudflare project.
2025-03-16 12:26:21 -06:00
Mauricio Siu
04d83432df fix: remove unnecessary comment from build preview workflow
- Eliminated an internal issue comment from the artifact upload step for clarity.
- Ensured the workflow remains clean and focused on essential configurations.
2025-03-16 12:25:26 -06:00
Mauricio Siu
0ef9970aff refactor: update build preview workflow for clarity and efficiency
- Renamed job to "Build Preview Deployment" and adjusted concurrency settings.
- Streamlined steps by removing unnecessary permissions and comments.
- Updated pnpm action to the latest version and ensured Node.js setup is consistent.
- Removed deployment step to Cloudflare Pages and related verification steps for simplification.
2025-03-16 12:24:30 -06:00
Mauricio Siu
c0449a62bb chore: add production deployment workflow for Cloudflare Pages
- Introduced a new GitHub Actions workflow for deploying the application to Cloudflare Pages upon pushes to the main branch.
- Configured steps for Node.js setup, dependency installation, and build processes using pnpm.
- Included necessary permissions and secrets for secure deployment.
2025-03-16 11:30:44 -06:00
Mauricio Siu
d198755d25 chore: remove deploy preview workflow from GitHub Actions
- Deleted the deploy preview workflow file as it is no longer needed.
- This change simplifies the workflow configuration and reduces maintenance overhead.
2025-03-16 11:19:59 -06:00
Mauricio Siu
6779856340 chore: update build preview workflow to include deployment step
- Renamed job to "Build and Deploy Preview" for clarity.
- Added a deployment step to Cloudflare Pages with necessary configurations.
- Updated permissions to include deployment rights.
2025-03-16 11:17:03 -06:00
Mauricio Siu
6687f2723d chore: enhance build preview workflow with additional debug information
- Updated workflow name to use quotes for consistency.
- Added event name and event type to the debug output for improved context during deployments.
2025-03-16 11:15:34 -06:00
Mauricio Siu
1bb88e7c93 chore: refactor GitHub Actions workflow for clarity and structure
- Updated workflow trigger to use a list format for better readability.
- Separated the deploy preview job into distinct steps for improved organization.
- Enhanced debug information to provide more detailed event context.
- Updated artifact download action to the latest version for better performance.
2025-03-16 11:14:43 -06:00
Mauricio Siu
7e9dda562b chore: update GitHub Actions workflows for improved artifact handling and debugging
- Added an ID to the artifact upload step for better tracking.
- Enhanced the verification step to include workflow and repository information.
- Updated permissions to allow writing actions in the deploy workflow.
- Added debug information to the deploy workflow for better visibility of event details.
2025-03-16 11:12:45 -06:00
Mauricio Siu
2291e9a5d1 chore: enhance GitHub Actions workflow with additional steps and permissions
- Updated permissions to allow writing actions.
- Added a step to list build output for verification.
- Included a verification step to confirm artifact upload completion.
2025-03-16 11:10:02 -06:00
Mauricio Siu
5aa80f8c96 chore: update GitHub Actions workflow permissions and artifact retention
- Added permissions for reading contents, actions, and writing pull requests.
- Set artifact retention period to 1 day for the preview build.
2025-03-16 11:06:50 -06:00
Mauricio Siu
4fde69f674 feat: add GitHub Actions workflows for build and deploy preview
- Introduced a new workflow for building the preview site and uploading build artifacts.
- Added a deployment workflow to Cloudflare Pages triggered by the successful completion of the build workflow.
- Configured Node.js and pnpm for dependency management and build processes.
2025-03-16 11:02:43 -06:00
Mauricio Siu
736503f855 refactor: Standardize template domain configuration to use ${domain} helper 2025-03-10 00:09:22 -06:00
Mauricio Siu
813efefab9 feat: Add comprehensive blueprint collection and project setup 2025-03-09 23:30:52 -06:00
Mauricio Siu
0015373bb1 chore: Enhance PR preview workflow trigger events 2025-03-09 22:32:39 -06:00
Mauricio Siu
5414f432b2 chore: Disable concurrency in deploy workflow 2025-03-09 22:31:02 -06:00
Mauricio Siu
3dd771096d chore: Simplify PR preview deployment workflow trigger 2025-03-09 22:29:53 -06:00
Mauricio Siu
18072c86ec chore: Update PR preview deployment with static index.html 2025-03-09 22:29:11 -06:00
Mauricio Siu
3e8da82bc8 feat: Add index.html to PR preview deployment 2025-03-09 22:24:27 -06:00