Configuration Reference
Complete reference for all Conjure configuration options.
Conjure uses a YAML configuration file to define where templates and bundles are located.
Conjure searches for configuration in this order:
--configflag - Explicit path passed on the command line~/.conjure.yaml- Home directory
If no --config flag is provided, Conjure looks for .conjure.yaml in your home directory.
| Field | Required | Default | Valid Values | Description |
|---|---|---|---|---|
templates_source | No | local (or both if templates_remote_url is set) | local, remote, both | Where to source templates from. |
bundles_source | No | local (or both if bundles_remote_url is set) | local, remote, both | Where to source bundles from. |
templates_local_dir | When source is local or both | None | Absolute path | Parent directory containing the templates/ subdirectory. |
bundles_local_dir | When source is local or both | None | Absolute path | Parent directory containing the bundles/ subdirectory. |
templates_remote_url | When source is remote or both | None | http:// or https:// URL | Base URL of the remote templates repository. |
bundles_remote_url | When source is remote or both | None | http:// or https:// URL | Base URL of the remote bundles repository. |
templates_priority | No | local-first | local-first, remote-first | Which source to check first when source is both. |
bundles_priority | No | local-first | local-first, remote-first | Which source to check first when source is both. |
cache_dir | No | .conjure (relative to working directory) | Directory path | Cache directory for remote resources. Supports ~/ expansion. |
Important
The
templates_local_dirandbundles_local_dirpaths must point to the parent directory that contains thetemplates/andbundles/subdirectories. Conjure appendstemplates/andbundles/to the configured path internally. Use fully qualified absolute paths. Conjure does not expand the~shorthand in local directory paths (onlycache_dirsupports tilde expansion).
Every configuration option has a corresponding environment variable with the CONJURE_ prefix. Environment variables override values from the configuration file.
| Config Field | Environment Variable |
|---|---|
templates_source | CONJURE_TEMPLATES_SOURCE |
bundles_source | CONJURE_BUNDLES_SOURCE |
templates_local_dir | CONJURE_TEMPLATES_LOCAL_DIR |
bundles_local_dir | CONJURE_BUNDLES_LOCAL_DIR |
templates_remote_url | CONJURE_TEMPLATES_REMOTE_URL |
bundles_remote_url | CONJURE_BUNDLES_REMOTE_URL |
templates_priority | CONJURE_TEMPLATES_PRIORITY |
bundles_priority | CONJURE_BUNDLES_PRIORITY |
cache_dir | CONJURE_CACHE_DIR |
When the same setting is defined in multiple places, Conjure uses this order (highest to lowest):
--configflag - Config file specified on the command line- Environment variables -
CONJURE_*variables - Configuration file -
~/.conjure.yaml