allow mount by label

This commit is contained in:
Alexandre
2021-11-02 10:35:14 +01:00
parent e71ca26afc
commit 540cc43776
44 changed files with 427 additions and 117 deletions

View File

@@ -34,17 +34,17 @@ comparison to installing any other Hass.io add-on.
Webui can be found at <http://your-ip:2342>
```yaml
"localdisks": "sda1" # Optional, requires priviledged mode
"networkdisks": "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
"cifsusername": "username" # optional, smb username, same for all smb shares
"cifspassword": "password" # optional, smb password
"cifsdomain": "domain" # optional, allow setting the domain for the smb share
"UPLOAD_NSFW": "true" allow uploads that may be offensive
"STORAGE_PATH": "/share/photoprism/storage" # storage PATH for cache, database and sidecar files
"ORIGINALS_PATH": "/share/photoprism/originals" # originals PATH containing your photo and video collection
"IMPORT_PATH": "/share/photoprism/import" # PATH for importing files to originals
"BACKUP_PATH": "/share/photoprism/backup" # backup storage PATH
"CUSTOM_OPTIONS": "--site-title HA_Photoprism" # custom options from https://docs.photoprism.org/getting-started/config-options/
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
cifsusername: "username" # optional, smb username, same for all smb shares
cifspassword: "password" # optional, smb password
cifsdomain: "domain" # optional, allow setting the domain for the smb share
UPLOAD_NSFW: "true" allow uploads that may be offensive
STORAGE_PATH: "/share/photoprism/storage" # storage PATH for cache, database and sidecar files
ORIGINALS_PATH: "/share/photoprism/originals" # originals PATH containing your photo and video collection
IMPORT_PATH: "/share/photoprism/import" # PATH for importing files to originals
BACKUP_PATH: "/share/photoprism/backup" # backup storage PATH
CUSTOM_OPTIONS: "--site-title HA_Photoprism" # custom options from https://docs.photoprism.org/getting-started/config-options/
```
## Illustration