-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
docs 📚Improvements or additions to documentationImprovements or additions to documentationenhancementEnhancement or improvement of an existing featureEnhancement or improvement of an existing featurereleasedAvailable in the stable releaseAvailable in the stable release
Description
As a CLI user, the use of the flags is clearer if --config-file is renamed to --defaults-yaml, as I would otherwise expect it to be possible to set all configuration values in the YAML file passed as an argument.
If you pass a YAML file via --defaults-yaml/--config-file`, the values are only used to set defaults. These can still be overridden by CLI parameters and environment variables (which are always present in most Docker/Cloud environments, so you can't really change anything).
In case you want PhotoPrism to ignore the environment and prefer values from a configuration file instead, you should use the --config-path flag / the PHOTOPRISM_CONFIG_PATH variable:
- Values in
[config-path]/options.ymlalways take precedence over CLI flags and environment variables if present - Options changed in the advanced settings UI are automatically stored here
- To avoid write conflicts, it is best to modify the
options.ymlfile only when the backend is not running - Command help has been updated to explain which flag does what (which wasn't really the case before)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docs 📚Improvements or additions to documentationImprovements or additions to documentationenhancementEnhancement or improvement of an existing featureEnhancement or improvement of an existing featurereleasedAvailable in the stable releaseAvailable in the stable release
Type
Projects
Status
Release 🌈