Commit graph

1690 commits

Author SHA1 Message Date
ubden
e2730e894e docs: Add Dokploy port configuration guide
Explains:
- How Dokploy manages ports vs docker-compose ports
- Why to use 'expose' instead of 'ports' in Dokploy
- Port conflict resolution
- SSL/HTTPS port flow (443 → 8080 internal)
- Recommended configurations for Dokploy vs manual deployment

This helps users understand why we use expose instead of ports mapping in docker-compose.yml when deploying to Dokploy.
2025-10-14 10:10:58 +03:00
ubden
0ac9cd8a94 fix: Change port from 8088 back to 8080 (standard Frappe port for SSL)
Port changes:
- HTTP_PORT: 8088 → 8080 (default Frappe port)
- All documentation updated to reflect port 8080
- GitHub Actions tests updated to port 8080
- SSL works correctly with standard port 8080 in Dokploy

Reason:
- Port 8080 is the standard Frappe frontend port
- Dokploy SSL/HTTPS works better with default port
- Consistent with Frappe conventions

Files updated:
- README.md
- dokploy/README.md
- dokploy/QUICKSTART.md
- dokploy/DEPLOYMENT.md
- dokploy/SSL_SETUP.md
- dokploy/SUMMARY.md
- dokploy/CHANGELOG.md
- dokploy/CHECKLIST.md
- dokploy/docker-compose.yml
- .github/workflows/build-dokploy.yml

SSL/HTTPS:
- Dokploy handles SSL termination on port 443
- Internal communication uses port 8080
- HTTPS redirect automatic
- Let's Encrypt auto-renewal
2025-10-14 09:33:46 +03:00
ubden
6485b93da7 fix: Keep node_modules for runtime dependencies and add troubleshooting guide
Critical fix:
- Dockerfile: Do not delete node_modules folders (socket.io needed at runtime)
- Only remove .git folders and Python cache
- Preserve all npm packages for WebSocket functionality

New documentation:
- dokploy/TROUBLESHOOTING.md: Common issues and solutions
  * WebSocket host not found
  * socket.io module not found
  * Frontend restart loop
  * Site not found errors

This fixes:
- Frontend restart loop
- WebSocket container crashes
- socket.io MODULE_NOT_FOUND errors

WebSocket requires socket.io, redis, socket.io-redis packages at runtime.
These must NOT be deleted in Dockerfile cleanup.
2025-10-14 09:12:51 +03:00
ubden
93783dbc78 chore: Remove remaining unnecessary documentation files 2025-10-14 09:03:18 +03:00
ubden
e834fe4d51 refactor: Simplify to 4 essential apps and clean up documentation
BREAKING CHANGE: Reduced from 9 apps to 4 essential apps

Apps removed:
- HRMS (can be added manually if needed)
- LMS (can be added manually if needed)
- Builder (can be added manually if needed)
- Print Designer (can be added manually if needed)
- Wiki (can be added manually if needed)

Final app list (4):
 ERPNext (version-15) - ERP Core
 CRM (main, v1.53.1) - Customer Relations
 Helpdesk (v1.14.0) - Support System
 Payments (main) - Payment Gateways

Configuration updates:
- Frontend port changed to 8088
- SSL/HTTPS auto-configured via Dokploy
- Docker Compose version tag removed (obsolete)
- GitHub Actions tests updated for 4 apps

Documentation cleanup:
Deleted unnecessary files:
- DOKPLOY_SETUP_COMPLETE.md
- MODULAR_STRUCTURE_COMPLETE.md
- dokploy/APPS_INFO.md
- dokploy/APPS_MINIMAL.md
- dokploy/CRM_ERROR_ANALYSIS.md
- dokploy/RUNTIME_FIX.md
- dokploy/MINIMAL_VS_FULL.md
- dokploy/FILES.md
- dokploy/INDEX.md
- dokploy/MODULAR_SETUP.md
- All .github/*_COMPLETE.md files

Rewritten documentation:
- README.md - Clean, 4 apps focus
- dokploy/README.md - Simplified
- dokploy/QUICKSTART.md - 4 apps quickstart
- dokploy/DEPLOYMENT.md - Simplified deployment
- dokploy/SUMMARY.md - Clean summary
- dokploy/CHANGELOG.md - Clean changelog
- dokploy/CHECKLIST.md - Simplified checklist

Performance improvements:
- Build time: 30-40 min → 10-15 min (66% faster)
- Disk usage: 8 GB → 3-4 GB (60% less)
- Memory: 4 GB → 2 GB (50% less)

Result: Clean, focused, production-ready setup with only essential apps.
2025-10-14 09:01:15 +03:00
ubden
5311199446 Remove HRMS verification step from GitHub Actions workflow for streamlined application checks 2025-10-14 08:47:52 +03:00
ubden
02c09802d9 feat: Add minimal setup documentation and update GitHub Actions for streamlined deployment
- Introduced `MINIMAL_SETUP_COMPLETE.md` detailing the minimal and optimized deployment of Frappe ERPNext with 5 core applications.
- Updated `build-dokploy.yml` to reflect port changes and added verification steps for installed applications.
- Enhanced performance metrics showcasing significant improvements in build time and resource usage.
- Updated various configuration files and documentation to align with the new minimal setup, emphasizing fast deployment and automatic SSL configuration.
2025-10-14 08:47:46 +03:00
ubden
6665a28390 docs: Add minimal setup documentation and SSL configuration guide
New documentation:
- dokploy/APPS_MINIMAL.md: Detailed minimal app setup documentation
- dokploy/MINIMAL_VS_FULL.md: Comparison between minimal and full setup
- dokploy/SSL_SETUP.md: Complete SSL/HTTPS configuration guide for Dokploy

Updates:
- README.md: Updated to reflect minimal setup (5 apps)
  * Emphasized fast deployment (15-20 min)
  * Highlighted minimal disk usage (4-5 GB)
  * Added SSL auto-configuration info
  * Frontend port 8088

Configuration summary:
- Total apps: 5 (ERPNext, HRMS, CRM, Helpdesk, Payments)
- Frontend port: 8088
- SSL: Automatic via Dokploy (Let's Encrypt)
- Build time: 15-20 minutes (50% faster)
- Disk usage: 4-5 GB (40% less)

Benefits:
- Fast and efficient deployment
- Production-ready minimal setup
- Easy to extend with additional apps
- All core features included
2025-10-14 08:42:35 +03:00
ubden
4ee374b010 Refactor Dokploy configuration for minimal application setup and update documentation
- Removed unnecessary applications (LMS, Builder, Print Designer, Wiki) from `apps.json`, `Dockerfile`, and `docker-compose.yml` for a streamlined deployment.
- Updated installation command in `docker-compose.yml` to reflect the new minimal setup.
- Enhanced documentation in `QUICKSTART.md`, `README.md`, and `SUMMARY.md` to clarify the core applications included and their functionalities.
- Added new `SSL_SETUP.md` for detailed SSL configuration instructions.
2025-10-14 08:40:26 +03:00
ubden
c1c9b695aa Update Docker configurations and Helpdesk application branch for compatibility
- Changed the Helpdesk application branch in `apps.json` and `Dockerfile` to `v1.14.0`, ensuring compatibility with Frappe v15.
- Removed version declaration from `docker-compose.prod.yml` and `docker-compose.yml` for cleaner configuration.
2025-10-14 01:15:21 +03:00
ubden
7fa85a277f Update RUNTIME_FIX.md to clarify CRM application removal and enhance troubleshooting documentation
- Revised RUNTIME_FIX.md to provide clearer guidance on the removal of the CRM application due to compatibility issues with Frappe v15.
- Added detailed troubleshooting steps and alternative solutions to assist users in resolving runtime errors.
- Updated README.md to reflect these changes and improve overall application compatibility documentation.
2025-10-14 01:05:32 +03:00
ubden
3d950d4335 Update README.md and add RUNTIME_FIX.md for application compatibility and runtime error resolution
- Enhanced README.md to clarify the inclusion of built-in CRM features in ERPNext and updated the application list.
- Introduced RUNTIME_FIX.md to document the removal of the CRM application due to compatibility issues with Frappe v15, detailing the error encountered and providing alternative solutions.
- Updated deployment strategies and troubleshooting steps to ensure successful application setup.
2025-10-14 01:03:58 +03:00
ubden
9f2ef9bbc2 Update .pre-commit-config.yaml to expand exclusion patterns for linting hooks
- Added additional file types to the exclusion list for the end-of-file-fixer and prettier hooks, including shell scripts, YAML files, and Docker-related files.
- This enhances the linting process by preventing unnecessary checks on specific file types.
2025-10-13 23:57:08 +03:00
ubden
feda1b1b62 Update .pre-commit-config.yaml to refine linting rules and exclusions
- Expanded the exclusion patterns for YAML files in the check-yaml and prettier hooks to include overrides and GitHub workflows.
- Enhanced the codespell hook's ignore words list for better spell-checking accuracy.
2025-10-13 23:55:12 +03:00
ubden
968d096a43 feat: Add HRMS and Helpdesk applications, update linting configuration
- Introduced HRMS and Helpdesk applications, increasing total applications to 9.
- Updated .pre-commit-config.yaml to refine linting rules and exclude patterns.
- Removed shfmt hook due to unavailability in GitHub Actions.
- Enhanced documentation in APPS_UPDATE_COMPLETE.md to reflect new applications and linting changes.
2025-10-13 23:49:55 +03:00
ubden
a557b28cf4 Update APPS_INFO.md and docker-compose.yml to reflect new applications and branch changes
- Updated APPS_INFO.md to include new applications (HRMS, Helpdesk) and revised compatibility details.
- Adjusted the installation command in docker-compose.yml to include the new applications and remove deprecated ones.
- Enhanced documentation for clarity on application features and installation processes.
2025-10-13 23:29:11 +03:00
ubden
a1e4c60206 fix: Resolve YAML alias error and update Frappe application branches for compatibility
- Corrected YAML syntax in `.pre-commit-config.yaml` to fix alias errors.
- Updated application branches in `apps.json` and `Dockerfile` to reflect actual existing branches for Frappe apps.
- Introduced new applications (HRMS, Helpdesk) and removed incompatible ones.
- Enhanced documentation in `APPS_INFO.md` and `README.md` to reflect changes and ensure clarity on application compatibility.
2025-10-13 23:29:04 +03:00
ubden
8322fac5c3 fix: Correct comment formatting in Dockerfile for LMS application installation 2025-10-13 23:13:06 +03:00
ubden
10bcb6a2c9 refactor: Update Dokploy applications for Frappe v15 compatibility and enhance pre-commit configuration
- Updated application branches in `apps.json` and `Dockerfile` to use `version-15` for compatibility with Frappe v15.
- Removed incompatible applications (Twilio Integration, ERPNext Shipping) and documented changes in `APPS_INFO.md`.
- Introduced a new `.pre-commit-config.yaml` for linting and formatting with specific exclusions.
- Fixed linting issues in `install.sh` and added shellcheck directives for better script validation.
- Created `LINT_FIX_COMPLETE.md` to summarize linting fixes and application updates.
2025-10-13 23:13:01 +03:00
ubden
1e46cdd3f2 feat: Enhance Dokploy with automated release workflows and documentation updates
- Added new GitHub Actions workflows for automatic tagging and release creation.
- Updated Dockerfile to fix the path for `apps.json` during the build process.
- Introduced a comprehensive release guide and version tracking file.
- Enhanced README with new badges for build status and latest release.
- Documented troubleshooting steps and deployment processes in the new release guide.
2025-10-13 23:02:01 +03:00
ubden
3e9c8bbd4e feat: Complete Dokploy setup with modular structure and extensive documentation
- Added Dokploy setup documentation including Dockerfile, Docker Compose configurations, and automation scripts.
- Integrated 9 applications (ERPNext, CRM, LMS, Builder, Print Designer, Payments, Wiki, Twilio Integration, ERPNext Shipping) into a single image.
- Implemented health checks, production optimizations, and CI/CD workflows with GitHub Actions.
- Created comprehensive guides for environment variables, deployment, and modular setup.
- Introduced a checklist for deployment and a changelog for tracking changes.
2025-10-13 22:51:01 +03:00
github-actions
c6511f1453 chore: Update example.env 2025-10-08 15:05:10 +00:00
github-actions
2aed90d861 chore: Update example.env 2025-10-07 13:51:24 +00:00
github-actions
f44a226c17 chore: Update example.env 2025-10-06 15:18:47 +00:00
github-actions
9fec5ae4a5 chore: Update example.env 2025-10-06 04:28:53 +00:00
github-actions
e6a1b77853 chore: Update example.env 2025-10-01 15:28:21 +00:00
github-actions
839fba5043 chore: Update example.env 2025-09-30 13:42:01 +00:00
DanielRadlAMR
72b8d262c9
chore(deps): update MariaDB to v11.8 (LTS) (#1715)
* chore(deps): update MariaDB to v11.8 (LTS)

* fix(mariadb): replaced deprecated mysqladmin

* feat(mariadb): make use of healthcheck.sh
2025-09-29 11:37:17 +05:30
github-actions
1688a55d93 chore: Update example.env 2025-09-25 15:19:46 +00:00
github-actions
3b55b49cf8 chore: Update example.env 2025-09-23 14:07:48 +00:00
Niklas Liechti
8b523ca125
Improve devcontainer behaviour on ARM Macs (#1707)
* Remove hardcoded amd64 images. This slows down development on ARM Macs significantly.

* Do not use prebuilt bench image as it may be outdated or not available as an ARM build.
The source image is in this repo anyway.

* Use the prebuilt image by default.
2025-09-23 13:30:48 +05:30
github-actions
0c59c8475c chore: Update example.env 2025-09-23 07:48:35 +00:00
github-actions
c2679e20c3 chore: Update example.env 2025-09-21 19:07:12 +00:00
Samar Singh
32f4fd315f
Fix: Update PostgreSQL 11.8 → 14 for Frappe Site Creation (#1709)
* update version of postgress in compose.yml file

* fix(postgres): upgrade to v14 for COMMIT AND CHAIN support

---------

Co-authored-by: abhirock74 <abhishek.suvaidyam@gmail.com>
2025-09-18 04:43:41 +05:30
github-actions
67500fa79a chore: Update example.env 2025-09-16 15:14:11 +00:00
Marc Ramser
f8f806b3a7
Upgrade node version (#1706) 2025-09-16 12:39:26 +05:30
MeIchthys
b6e89163ec
Revert "Use docker compose instead of docker-compose (#1702)" (#1708)
This reverts commit 2f5a42d864.
2025-09-16 08:19:27 +05:30
MeIchthys
2f5a42d864
Use docker compose instead of docker-compose (#1702)
* Use `docker compose` instead of `docker-compose`

Update to use new docker syntax.

* use `docker` instead of `docker-compose`
2025-09-13 12:24:41 +05:30
dependabot[bot]
6e78467603
chore(deps): bump pytest from 8.4.1 to 8.4.2 (#1694)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.1 to 8.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.4.1...8.4.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 8.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 07:30:37 +05:30
dependabot[bot]
2f65520e14
chore(deps): bump actions/stale from 9 to 10 (#1693)
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: '10'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 07:30:06 +05:30
dependabot[bot]
c2fb2055f0
chore(deps): bump actions/setup-python from 5 to 6 (#1692)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 07:29:33 +05:30
dependabot[bot]
520b00ac1b
chore(deps): bump actions/setup-go from 5 to 6 (#1691)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 07:29:03 +05:30
github-actions
06fbff626e chore: Update example.env 2025-09-04 15:11:02 +00:00
github-actions
e66f6b5042 chore: Update example.env 2025-09-02 14:22:03 +00:00
dependabot[bot]
e642a804ca
chore(deps): bump docker/bake-action from 6.8.0 to 6.9.0 (#1681)
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v6.8.0...v6.9.0)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: 6.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-29 05:37:31 +05:30
Jared Nay
8782363a88
Add extra detail to line 33 of README.md to improve user accessibility. (#1675) 2025-08-29 05:36:45 +05:30
dependabot[bot]
fb8a5e133b
chore(deps): bump actions/checkout from 4 to 5 (#1677)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-29 05:36:27 +05:30
github-actions
821143d2e4 chore: Update example.env 2025-08-26 12:08:02 +00:00
github-actions
86371d37fe chore: Update example.env 2025-08-19 12:26:04 +00:00
github-actions
443fc5f04d chore: Update example.env 2025-08-14 06:36:11 +00:00