Files
photoprism/setup
Michael Mayer 315b49c1e6 Config: Add fallback to load defaults from "config/defaults.yml" #5325
Config.DefaultsYaml() resolves the default options YAML file. When
PHOTOPRISM_DEFAULTS_YAML points to a readable file it will be used;
otherwise it falls back to `defaults.{yml,yaml}` inside the active
config directory.

This allows instances without `/etc/photoprism/defaults.yml` to
still load local defaults, e.g., in containerized environments.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-16 09:06:12 +01:00
..