Configure the Compozy CLI and manage global settings
compozy.yaml
file in the project root directory. This file defines your project’s structure, dependencies, settings, and deployment configurations.
compozy init
, your project will have the following structure:
compozy.yaml
file is automatically created when you initialize a new project with compozy init
. Below are examples of basic and advanced configurations:
.env
files in your project directory (in order of precedence):
.env.local
- Local overrides (ignored by git).env.development
, .env.test
, .env.production
- Environment-specific variables.env
- Default values${ENV_VAR}
syntax:
Version Control Best Practices
compozy.yaml
in version controlEnvironment Management
Security Guidelines
Resource Planning
compozy config --help
for detailed configuration commands