Environment Setup¶
The repository does not include a single root .env.example. Runtime configuration is module-specific and exposed through CLI flags, YAML configuration, or service-specific environment variables.
Common Patterns¶
- API ports use module-specific variables such as
DB_TO_MD_PORT,GRAPH_TO_MD_PORT, orOPENAPI_TO_MD_PORTwhere implemented. - Upload and ZIP limits are enforced by API modules such as
db-to-mdthrough variables likeDB_TO_MD_MAX_SQLITE_UPLOAD_MB. - Graphviz can be configured with
GRAPHVIZ_DOTwhendotis not onPATH. - Mermaid image rendering can use
MERMAID_INK_SERVERfor DB ERD generation whenmermaid-pyis used.
Recommended Local Practice¶
Keep local secrets outside git, document service-specific variables in deployment manifests, and prefer YAML configs for database, graph, OpenAPI, and log workflows where the module provides packaged defaults.