--- ## General # Version photoprism_version: 1.0.0 # photoprism paths photoprism_root_path: /opt/photoprism photoprism_config_path: "{{ photoprism_root_path }}/conf" photoprism_cache_path: "{{ photoprism_root_path }}/cache" photoprism_db_path: "{{ photoprism_root_path }}/db" photoprism_skeleton_paths: - "{{ photoprism_config_path }}" - "{{ photoprism_cache_path }}" - "{{ photoprism_db_path }}" # Documentation photoprism_documentation_link: "" photoprism: ## Start as non-root user before initialization (supported: 0, 33, 50-99, 500-600, and 900-1200): run_as: uid: "" # user: "1000:xxxx" gid: "" # user: "xxxx:1000" # Superadmin admin: user: "admin" # user name password: "insecure" # initial password (minimum 8 characters) # Authentication auth_mode: "password" # authentication mode (public, password) # Site URL url: "http://photoprism.me:2342/" # server URL in the format "http(s)://domain.name(:port)/ site: port: "2342" originals: "5000" # file size limit for originals in MB (increase for high-res video) compression: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) caption: "AI-Powered Photos App" description: "" # meta site description author: "" # meta site author system: restart: "unless-stopped" workers: "" # limits the number of indexing workers to reduce system load log: "info" # log level: trace, debug, info, warning, error, fatal, or panic experimental: "false" # enables experimental features readonly: "false" # do not modify originals directory (reduced functionality) disable_chown: "false" # disables updating storage permissions via chmod and chown on startup disable_webdav: "false" # disables built-in WebDAV server disable_settings: "false" # disables settings UI and API autoupdate: "false" # Update photoprism automatically (true/false) ## Run as a non-root user after initialization (supported: 0, 33, 50-99, 500-600, and 900-1200): uid: "" # PHOTOPRISM_UID: 1000 gid: "" # PHOTOPRISM_GID: 1000 umask: "" # PHOTOPRISM_UMASK: 0000 init: "" # Run/install on first startup # (options: update https gpu tensorflow davfs clitools clean) encoding: ffmpeg: bitrate: "32" # FFmpeg encoding bitrate limit in Mbit/s (default: 50) encoder: "software" # FFmpeg encoder ("software", "intel", "nvidia", "apple", "raspberry") quality: "85" # a higher value increases the quality and file size of JPEG images # and thumbnails (25-100) ai: disable: "false" # disables all features depending on TensorFlow no_faces: "false" # disables face detection and recognition (requires TensorFlow) no_classification: "false" # disables image classification (requires TensorFlow) no_raw_conversion: "false" # disables indexing and conversion of RAW files raw_presets: "false" # enables applying user presets when converting RAW files (- performance) nfsw: detect: "false" # flag photos as private that MAY be offensive (requires TensorFlow) upload: "true" # allows uploads that MAY be offensive (no effect without TensorFlow) db: image: "mariadb" # Database image version: "10.10" # Database image version driver: "mysql" # or "sqlite". Use MariaDB 10.5+ or MySQL 8+ instead of SQLite for improved host: "mariadb" # MariaDB or MySQL database server (hostname:port) port: 3306 user: "photoprism" # MariaDB or MySQL database user name password: "insecure" # MariaDB or MySQL database user password root_password: "insecure" # MariaDB or MySQL database ROOT password name: "photoprism" # MariaDB or MySQL database schema name ## Share hardware devices with FFmpeg and TensorFlow (optional): devices: [] # - "/dev/dri:/dev/dri" # Intel QSV # - "/dev/nvidia0:/dev/nvidia0" # Nvidia CUDA # - "/dev/nvidiactl:/dev/nvidiactl" # - "/dev/nvidia-modeset:/dev/nvidia-modeset" # - "/dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl" # - "/dev/nvidia-uvm:/dev/nvidia-uvm" # - "/dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools" # - "/dev/video11:/dev/video11" # Video4Linux Video Encode Device (h264_v4l2m2m)