Files
plane/deployments/cli
Akshat JainandGitHub 40e53e28f1 chore: add ENABLE_DRF_SPECTACULAR env to deployment methods (#6393)
* feat: add ENABLE_DRF_SPECTACULAR environment variable to various deployment configurations

This commit introduces the ENABLE_DRF_SPECTACULAR variable to control the exposure of OpenAPI schema endpoints across multiple deployment files. The variable is set to 0 by default, ensuring that the schema endpoints are not exposed unless explicitly enabled.

Changes:
- Added ENABLE_DRF_SPECTACULAR to apps/api/.env.example
- Updated deployments/aio/commercial/variables.env
- Included in docker-compose.yml files for cli, coolify, and portainer deployments

* feat: add comments for ENABLE_DRF_SPECTACULAR variable in deployment configurations

This commit enhances clarity by adding comments to the ENABLE_DRF_SPECTACULAR environment variable across various deployment files. The comments explain its purpose as a toggle for controlling the exposure of OpenAPI schema endpoints.

Changes:
- Added comments in apps/api/.env.example
- Updated comments in deployments/aio/commercial/variables.env
- Included comments in docker-compose.yml files for cli, coolify, and portainer deployments
2026-03-23 18:16:03 +05:30
..