modality CLI Configuration File
Summary
The Modality CLI, modalityd
, can be configured either with command line arguments or through a configuration file. modality
loads configuration from three locations: values read from locations lower on the list take precedence over those higher on the list.
modality.toml
, in the current directory ~/.config/modality.toml
- The path given in
MODALITY_CONFIG
, if any.
modality Configuration File Fields
URL |
Set the modalityd URL field. |
If not set, the default URL http://localhost:14181/v1/ will be used. |
Supports the following formats: |
* URL: http\[s\]://host:port/v1/ |
* IP address and port: 127.0.0.1:14181 will be converted to http://127.0.0.1:14181/v1/ |
* IP address: 127.0.0.1 will be converted to http://127.0.0.1:14181/v1/ |
* Port number: 14181 will be converted to http://127.0.0.1:14181/v1/ |
* Host: localhost will be converted to http://localhost:14181/v1/ |
insecure |
Set the insecure TLS access flag when setting the modalityd URL. Defaults fo false. |
secure |
Clear the insecure TLS access flag when setting the modalityd URL. Defaults fo true. |
Example modality Configuration File