Files
hassio-addons/photoprism/config.yaml
Alexandre 74121509cd fix: give every addon a version Home Assistant can order (#2926)
Seventeen addons carried a config.yaml version that awesomeversion, the
library Home Assistant orders versions with, reports as UNKNOWN: text
tags such as version-bf9e0b4f or sts, LinuxServer tags such as
v26.2-ls256, and local counters written as a semver pre-release such as
15.7-47. Home Assistant cannot tell which of two such versions is newer,
so update detection depends on a compare exception rather than on
ordering, and any version that becomes partially comparable silently
stops being offered.

Each version keeps every number it carried, as a section of its own:
v26.2-ls256 becomes v26.2.256, 4.16-r0-ls95-7 becomes 4.16.0.95.7 and
5.0.0b5-3 becomes 5.0.0.5.3, so nothing that ordered the addon is lost
and no previously published version is reused. The two versions holding
no number at all use the date instead. Only config.yaml and CHANGELOG.md
change, so every addon still builds from the upstream tag recorded in
its Dockerfile and updater.json.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-01 18:51:31 +02:00

136 lines
2.5 KiB
YAML

arch:
- aarch64
- amd64
description:
A server-based application for browsing, organizing and sharing your
personal photo collection
devices:
- /dev/dri
- /dev/dri/card0
- /dev/dri/card1
- /dev/dri/renderD128
- /dev/vchiq
- /dev/video10
- /dev/video11
- /dev/video12
- /dev/video13
- /dev/video14
- /dev/video15
- /dev/video16
- /dev/ttyUSB0
- /dev/sda
- /dev/sdb
- /dev/sdc
- /dev/sdd
- /dev/sde
- /dev/sdf
- /dev/sdg
- /dev/nvme
- /dev/nvme0
- /dev/nvme0n1
- /dev/nvme0n1p1
- /dev/nvme0n1p2
- /dev/nvme0n1p3
- /dev/nvme1n1
- /dev/nvme1n1p1
- /dev/nvme1n1p2
- /dev/nvme1n1p3
- /dev/nvme2n1
- /dev/nvme2n1p1
- /dev/nvme2n1p2
- /dev/nvme2n3p3
- /dev/mmcblk
- /dev/fuse
- /dev/sda1
- /dev/sdb1
- /dev/sdc1
- /dev/sdd1
- /dev/sde1
- /dev/sdf1
- /dev/sdg1
- /dev/sda2
- /dev/sdb2
- /dev/sdc2
- /dev/sdd2
- /dev/sde2
- /dev/sdf2
- /dev/sdg2
- /dev/sda3
- /dev/sdb3
- /dev/sda4
- /dev/sdb4
- /dev/sda5
- /dev/sda6
- /dev/sda7
- /dev/sda8
- /dev/nvme0
- /dev/nvme1
- /dev/nvme2
environment:
PHOTOPRISM_ADMIN_PASSWORD: please_change_password
PHOTOPRISM_ADMIN_USER: admin
PHOTOPRISM_DETECT_NSFW: "true"
PHOTOPRISM_HTTP_PORT: "2341"
working_dir: /data/photoprism
homeassistant: 0.92.0b2
image: ghcr.io/alexbelgium/photoprism-{arch}
ingress: true
ingress_stream: true
map:
- addon_config:rw
- homeassistant_config:rw
- media:rw
- share:rw
- ssl:ro
name: Photoprism
options:
env_vars: []
BACKUP_PATH: /share/photoprism/backup
CONFIG_LOCATION: /config
DB_TYPE: sqlite
IMPORT_PATH: /share/photoprism/import
ORIGINALS_PATH: /share/photoprism/originals
STORAGE_PATH: /share/photoprism/storage
UPLOAD_NSFW: "true"
certfile: fullchain.pem
keyfile: privkey.pem
ssl: false
panel_admin: false
panel_icon: mdi:camera
ports:
2342/tcp: 2342
ports_description:
2342/tcp: Web interface
privileged:
- SYS_ADMIN
- SYS_RAWIO
- DAC_READ_SEARCH
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
BACKUP_PATH: str
CONFIG_LOCATION: str
DB_TYPE: list(sqlite|mariadb_addon|external)
IMPORT_PATH: str
ORIGINALS_PATH: str
STORAGE_PATH: str
UPLOAD_NSFW: bool
certfile: str
cifsdomain: str?
cifspassword: str?
cifsusername: str?
graphic_drivers: list(|mesa)?
ingress_disabled: bool?
keyfile: str
localdisks: str?
networkdisks: str?
ssl: bool
services:
- mysql:want
slug: photoprism
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "2026.07.28"
video: true