Commit Graph
24 Commits
Author SHA1 Message Date
a7c7be6efd [INFRA-320] Plane-EE: Add plane ai service in deployment methods (#5799)
* feat: add Plane Intelligence (PI) service configuration

- Updated Caddyfile to include reverse proxy for PI API.
- Enhanced docker-compose.yml with new environment variables for PI database and services.
- Added PI API, worker, beat, and migrator services to docker-compose configurations.
- Updated environment variable files to support PI service configurations.

This commit sets up the necessary infrastructure for the Plane Intelligence features, enabling integration with the main application.

* feat: enhance Plane Intelligence (PI) service configuration

- Updated docker-compose.yml and environment variable files to include new settings for PI database and services.
- Added PI API, worker, beat, and migrator services to the deployment configurations.
- Enhanced Caddyfile to support reverse proxy for PI API.
- Included necessary environment variables for Celery and OpenSearch integration.

This commit further establishes the infrastructure for Plane Intelligence features, ensuring seamless integration with the main application.

* feat: update database initialization for Plane Intelligence (PI)

- Introduced a new service `pi-db-init` in docker-compose configurations to handle the creation of the `plane_pi` database.
- Removed the old SQL initialization script for the PI database, streamlining the setup process.
- Updated environment variable files to reflect changes in the database URL for PI.

This commit enhances the deployment process for Plane Intelligence, ensuring the database is created only when necessary and improving overall configuration management.

* chore: update docker-compose configurations to include docstore environment

- Added `*docstore-env` to the environment variables for the `silo` service in docker-compose files across commercial deployments (CLI, Coolify, Portainer).
- This change ensures that the docstore environment is properly configured for the silo service, enhancing deployment consistency.

* chore: add custom LLM environment variables to docker-compose configurations

- Introduced new environment variables related to custom LLM configurations in docker-compose files for CLI, Coolify, and Portainer deployments.
- This update enhances the flexibility of the deployment by allowing the integration of self-hosted OpenAI-compatible models and related settings.

* chore: update database initialization commands in docker-compose files

- Replaced the `createdb` command with a check for the existence of the `plane_pi` database using `psql` in docker-compose configurations for CLI, Coolify, Portainer, and Podman deployments.
- This change ensures that the database is only created if it does not already exist, improving the robustness of the deployment process.

* chore: add Plane Intelligence (PI) configuration to docker-compose files

- Updated docker-compose configurations for CLI, Coolify, and Portainer deployments to include new environment variables for PI, such as `PI_BASE_URL`, `PI_BASE_PATH`, and `PI_INTERNAL_SECRET`.
- Enhanced the Caddyfile to route requests for the PI service, ensuring proper reverse proxying to the `pi-api`.
- These changes improve the deployment setup for Plane Intelligence, facilitating better integration and access to the PI service.

* chore: refine deployment scripts for Coolify and Podman

- Updated the `coolify-compose.yml` file to correct the environment variable reference for the silo service.
- Removed unnecessary directory creation commands in the `install.sh` script for Podman, streamlining the setup process.
- These changes enhance the clarity and efficiency of the deployment configurations.

* chore: update docker-compose files to reference EMBEDDING_MODEL_ID

- Modified the docker-compose configurations for CLI, Coolify, and Portainer to replace the `OPENSEARCH_ML_MODEL_ID` environment variable with `EMBEDDING_MODEL_ID`.
- This change ensures consistency across deployment configurations and aligns with the updated environment variable structure for embedding models.

* chore: update environment variables for email and Plane Intelligence services

- Set EMAIL_REPLICAS, PI_API_REPLICAS, PI_BEAT_REPLICAS, and PI_WORKER_REPLICAS to 0 in the variables.env file.
- This change disables the respective services, optimizing resource allocation in the deployment configuration.

* chore: update docker-compose configurations to disable Plane Intelligence services

- Set the replicas for PI_API, PI_BEAT, PI_WORKER, and PI_MIGRATOR services to 0 in the docker-compose files for CLI, Coolify, and Portainer.
- Updated the variables.env file to reflect these changes, optimizing resource allocation by disabling unnecessary services.
- Adjusted the PI_BASE_URL environment variable for consistency across deployment configurations.

* chore: integrate Plane Intelligence (PI) services into deployment configurations

- Updated the Dockerfile to include the Plane Intelligence (PI) service images and copy necessary files from the PI build context.
- Enhanced the build.sh script to configure the Caddyfile for the PI API service.
- Modified the start.sh script to add environment variable handling for enabling PI services and their configurations.
- Added supervisor configurations for PI services, including pi-migrator, pi-api, pi-beat, and pi-worker, to manage their execution.
- Updated variables.env to include new environment variables for PI settings, allowing for better integration and configuration of Plane Intelligence services.

* chore: clean up environment variable references in docker-compose files

- Removed redundant environment variable definitions for database and message broker configurations in docker-compose files for CLI, Coolify, and Portainer.
- This change streamlines the deployment configurations by eliminating unnecessary variables, ensuring clarity and consistency across services.

* chore: update Dockerfiles to install and configure Supervisor

- Added installation of Supervisor and creation of its configuration directory in the Dockerfiles for both commercial and community deployments.
- Removed redundant Supervisor installation commands to streamline the Dockerfile structure, ensuring a cleaner build process.

* chore: improve environment variable handling in deployment scripts

- Updated start.sh scripts for both commercial and community deployments to use `set -a` and `source` for loading environment variables from plane.env, enhancing clarity and reliability.
- Modified variables.env to include quotes around CUSTOM_LLM_DESCRIPTION for consistency and to prevent potential parsing issues.

* chore: streamline Supervisor installation in Dockerfiles

- Updated the Dockerfiles for both commercial and community deployments to install Supervisor using `python -m ensurepip` instead of a separate pip install command.
- This change simplifies the Dockerfile structure and ensures Supervisor is installed correctly during the build process.

* refactor: reorder Dockerfile commands for backend and supervisor, and streamline supervisor installation.

* build: Comment out `pi-img` copy instructions and reorder `apk add` command.

* feat: enable copying pi and bin directories from pi-img

* feat: Integrate OpenSearch configuration, adjust embedding model variable handling, and add supervisor to Dockerfile.

* ci: disable multiple build dependencies for the AIO Docker image build job.

* fix: Remove stray 'E' character from `variables.env`.

* chore: Remove explicit path for supervisord command in start script.

* refactor: reorder backend image copy commands in Dockerfile

* build: Exclude python executables when copying from /usr/local/bin in the Dockerfile.

* feat: Add a dedicated Alpine builder stage for Python dependencies to ensure musl libc compatibility.

* feat: Migrate plane-pi to an Alpine base, simplify the AIO Dockerfile by removing its dedicated Alpine builder stage, and enable its CI build.

* fix: Correct `branch_build_setup` dependency syntax in AIO Docker build workflow.

* [revert-later] chore: check pi feature flags based only on env for testing

* refactor: reorder Caddyfile string replacements for consistency.

* feat: Add support for `FOLLOWER_POSTGRES_URI` and `BR_AWS_REGION` environment variables and reorder OpenSearch settings.

* feat: Add `EMBEDDING_MODEL` processing to `start.sh` and relocate embedding model variables in `variables.env`.

* build: Add bash 5.2 to the API Docker image.

* feat: Allow `USE_MINIO` to be configured via an environment variable in the AIO commercial `start.sh` script.

* fix: Remove redundant `BUCKET_NAME` environment variable update and correct `USE_MINIO` default value syntax.

* chore: revert feature flag testing changes

* chore: update docker-compose and podman configurations to adjust email service replicas and remove pi-api reference

* chore: uncomment branch build push jobs in GitHub Actions workflow for comprehensive CI/CD

* chore: add branch build push job for Plane Intelligence service in GitHub Actions workflow

* chore: clean up OpenSearch environment variables and adjust Dockerfile for supervisor installation

* chore: fix SERVICE_HTTP_LIVE path in Coolify Docker Compose configuration

* chore: update Docker Compose configurations to include replicas for pi-migrator service and adjust service start commands in installation script

* Update deployments/coolify/commercial/coolify-compose.yml

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Akhil Vamshi <[email protected]>
Co-authored-by: Copilot <[email protected]>
2026-02-25 14:52:29 +05:30
pratapalakshmiandGitHub ea35af3250 [INFRA-302] feat: make plane-ee FIPS compliant (#5326)
* feat: add Dockerfile for FIPS compliance

* refactor: reorganize FIPS build configuration in GitHub Actions workflow

- Moved the FIPS build input to a more logical position in the workflow.
- Updated environment variable handling for FIPS builds.
- Removed the deprecated docker-compose-fips.yml file and adjusted related upload steps.
- Improved readability by consolidating Dockerfile path conditions.

* chore: update GitHub Actions workflow to use [email protected] and streamline Dockerfile path handling

- Upgraded the build-push action version to v1.3.0 for all build steps.
- Simplified Dockerfile path conditions for various services.
- Consolidated FIPS build logic for better clarity and maintainability.

* refactor: simplify FIPS build logic in GitHub Actions workflow

- Removed conditional FIPS build suffix from branch name generation.
- Updated airgapped artifacts packaging condition to focus solely on airgapped builds.

* fix: remove quotes from Dockerfile paths in GitHub Actions workflow

- Updated Dockerfile paths in the build-branch-ee.yml workflow to remove unnecessary quotes for consistency and clarity.
2026-02-09 16:06:25 +05:30
Manish GuptaandGitHub 84ed10b6a0 [INFRA-304] chore: update Dockerfiles to include LICENSE.txt in application images (#5671)
* chore: update Dockerfiles to include LICENSE.txt and adjust Docker Compose paths

- Added LICENSE.txt copying to various Dockerfiles for compliance.
- Updated Docker Compose file to correct paths for Dockerfiles in the apps directory.
- Renamed copy_env_file function to copy_file in setup.sh for clarity and consistency.

* chore: refine Docker Compose and setup scripts for improved service builds

- Updated Docker Compose file to specify correct build contexts and Dockerfile paths for the monitor and email services.
- Removed license file copying from setup.sh to streamline the build process.
- Cleaned up .gitignore by removing the LICENSE.txt entry for apps.
2026-02-02 15:10:17 +05:30
d43f076d73 [INFRA-293] Add marketplace endpoint for Apps in Silo (#5358)
* feat: add marketplace reverse proxy handling in Caddyfiles

* feat: add reverse proxy for marketplace in Caddyfile

* chore: update Dockerfile to include ca-certificates and openssl packages

* chore: remove unnecessary packages from Dockerfile

* Update apps/proxy/Caddyfile.aio.ee

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
2026-01-08 16:47:12 +05:30
sriramveeraghanta 1ec1e1a1f9 fix: merge conflicts 2025-12-12 14:54:18 +05:30
sriramveeraghanta 119cf39b4d Merge branch 'canary' of github.com:makeplane/plane into preview 2025-12-12 13:42:48 +05:30
Akshat JainandGitHub 7451d5e125 [INFRA-288] fix: add missing reverse proxy rule for bucket in Caddyfile.ce (#8319)
* fix: add missing reverse proxy rule for bucket in Caddyfile.ce

* fix: correct typo in reverse proxy address in Caddyfile.aio.ce
2025-12-11 19:21:10 +05:30
Akshat JainandGitHub 58e48a995b [INFRA-287] Fix: AIO Docker Image build failure (#8311)
* refactor: update build scripts and supervisor configuration

* Changed Caddyfile source in build.sh to use Caddyfile.aio.ce
* Updated Dockerfile to copy web assets from the correct directory
* Modified supervisor.conf to remove web and admin program configurations, and updated space program command to use react-router-serve

* chore: remove obsolete Caddyfile.aio.ce configuration

* chore: clean up Dockerfile by removing redundant cache removal command

* fix: update live program command to use .mjs extension in supervisor configuration

* fix: update live program command in supervisor configuration to remove .mjs extension

* fix: update reverse proxy ports in Caddyfile.aio.ce configuration

* fix: correct reverse proxy addresses in Caddyfile.aio.ce configuration

* refactor: remove outdated reverse proxy address updates from build script
2025-12-11 18:06:27 +05:30
Akshat JainandGitHub 29553259ee [INFRA-284] Add /static/ routes in Caddy Proxy files (#4998)
* refactor: update reverse proxy routes from /api/* to /static/* in multiple Caddyfiles

* refactor: update reverse proxy routes for /api/* and /static/* in multiple Caddyfiles
2025-12-10 01:17:15 +05:30
Prateek Shourya ed57db47d0 fix: merge conflicts
Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee
2025-12-09 21:45:28 +05:30
NikhilandGitHub 4b59998e52 [WEB-5592] chore: add static files update settings for static files support (#8251)
* chore: add static files collection and update settings for static files support

* chore: add WhiteNoise middleware for static file handling

* chore(deps): upgrade WhiteNoise to version 6.11.0 and add static file reverse proxy in Caddyfile
2025-12-09 21:05:26 +05:30
4b325621e5 fix: eslint
* feat: eslint

* fix: lint

* fix: lint

* [WIKI-804] fix: refactor image uploader (#8210)

* fix: refactor uploader

* fix: props

* fix: sites fix

* fix: update @makeplane/plane-node-sdk version and refactor relation type imports

* fix: update ESLint max-warnings threshold in package.json

* fix: eslint formatting issues

* fix: add captions track to video player component

---------

Co-authored-by: M. Palanikannan <[email protected]>
Co-authored-by: Prateek Shourya <[email protected]>
2025-12-05 16:27:19 +05:30
85d90030cf fix: eslint (#8185)
Co-authored-by: Prateek Shourya <[email protected]>
2025-12-05 16:03:51 +05:30
Prateek ShouryaandGitHub 7c29002bc9 chore: add permanent redirects for /spaces and /god-mode in Caddyfiles (#4960) 2025-12-04 14:15:57 +05:30
sriram veeraghantaandGitHub 4b1511ef03 Sync: Community Changes #4961 2025-12-04 14:15:27 +05:30
Prateek ShouryaandGitHub 63f3a57022 chore: add permanent redirects for /spaces and /god-mode in Caddyfile (#8236) 2025-12-04 14:03:07 +05:30
Akshat JainandGitHub 12137aa53d [INFRA-281] Fix aio image build failure (#4957)
* refactor: update Caddyfile for god-mode and web frontend handling; modify Dockerfile to adjust paths for admin and web assets; comment out web and admin program configurations in supervisor.conf

* refactor: restructure Caddyfile to use handle directives for improved routing; update supervisor configuration to use .mjs extension for live application

* refactor: simplify reverse_proxy directives in Caddyfile for cleaner configuration

* refactor: enhance Caddyfile handling by removing unnecessary blocks for BUCKET_NAME and plane-minio

* refactor: comment out unnecessary branch build push jobs in GitHub Actions workflow for cleaner execution

* refactor: update build script to copy Caddyfile.aio instead of Caddyfile.ee for improved deployment consistency

* refactor: consolidate reverse_proxy directives in Caddyfile for improved clarity and maintainability

* refactor: uncomment branch build push jobs in GitHub Actions workflow for enhanced deployment process; clean up supervisor.conf by removing commented-out program configurations

* refactor: remove handle blocks for BUCKET_NAME and plane-minio from Caddyfile.aio to streamline configuration

* refactor: remove Caddyfile.aio to streamline proxy configuration and update build script to copy Caddyfile.aio.ee for deployment
2025-12-04 14:00:22 +05:30
Akshat JainandGitHub b8d9881fc8 [INFRA-220] fix: update Dockerfile for proxy service #3792 2025-07-31 13:35:44 +05:30
pushya22andGitHub e7e10b0464 Sync: Community Changes #3793 2025-07-31 13:32:17 +05:30
Akshat JainandGitHub cc49a2ca4f [INFRA-219] fix: update Dockerfile and docker-compose for proxy service (#7523)
* fix: update Dockerfile and docker-compose for version v0.28.0 and improve curl commands in install script

* fix: update docker-compose to use 'stable' tag for all services

* fix: improve curl command options in install script for better reliability
2025-07-31 13:27:34 +05:30
sriramveeraghanta d97dc01f51 fix: merge conflicts 2025-07-14 14:42:42 +05:30
6d01622663 [INFRA-208] Reorganize deployment structure and update build workflows (#7391)
* refactor: reorganize deployment structure and update build workflows

- Restructure deployment directories from deploy/ to deployments/
- Move selfhost files to deployments/cli/community/
- Add new AIO community deployment setup
- Update GitHub Actions workflows for new directory structure
- Add Caddy proxy configuration for CE deployment
- Remove deprecated AIO build files and workflows
- Update build context paths in install scripts

* chore: update Dockerfile and supervisor configuration

- Changed `apk add` command in Dockerfile to use `--no-cache` for better image size management.
- Updated `build.sh` to ensure proper directory navigation with quotes around `dirname "$0"`.
- Modified `supervisor.conf` to set `stderr_logfile_maxbytes` to 50MB and added `stderr_logfile_backups` for better log management across multiple services.

* chore: consistent node and python version

---------

Co-authored-by: sriramveeraghanta <[email protected]>
2025-07-14 14:38:43 +05:30
7e96f88e9d [INFRA-204] Deployment folder reorganization, Commercial AIO Build (#3593)
* Enhance CI workflows: Add AIO build support and manifest management

- Introduced `mark_manifest_latest` input to control manifest versioning in `appliance-docker-ee.yml`.
- Updated paths in `appliance-docker-ee.yml` for consistency with new directory structure.
- Removed obsolete `build-aio-branch-ee.yml` workflow.
- Added `aio_build` input to `build-branch-ee.yml` for AIO image builds.
- Updated various build jobs to utilize new AIO build logic and dependencies.
- Refactored paths in `build-branch-ee.yml` for improved clarity and organization.
- Updated Dockerfile for proxy to use specific versions of dependencies.

* fix: update build script invocation in CI workflow

- Changed the invocation of the build script in `build-branch-ee.yml` to use `bash` for improved compatibility.

* fix: update artifact upload condition and correct file path in build script

- Modified the condition for uploading artifacts to S3 in `build-branch-ee.yml` to include airgapped builds.
- Corrected the file path for the Caddyfile in `build.sh` to reflect the new directory structure.

* refactor: enhance artifact uploads and remove deprecated scripts

- Added multiple artifact uploads in `build-branch-ee.yml` for `docker-compose.yml`, `coolify-compose.yml`, `portainer-compose.yml`, `swarm-compose.yml`, and `variables.env`.
- Deleted obsolete scripts and configuration files related to airgapped deployment, including `build.sh`, `install.sh`, and various YAML files in the `cli-install` and `airgapped` directories.
- Updated CI workflow to streamline artifact management and improve deployment processes.

* refactor: remove deprecated artifact upload for swarm-compose.yml in CI workflow

- Eliminated the upload step for `swarm-compose.yml` in `build-branch-ee.yml` to streamline artifact management and reduce redundancy.

* fix: consistent node version across all docker files

---------

Co-authored-by: sriramveeraghanta <[email protected]>
2025-07-14 14:35:22 +05:30
sriram veeraghanta 00bdcd12bf fix: moving application services to apps folder 2025-07-03 01:55:24 +05:30