Use new Photos share for Photoprism

This commit is contained in:
IamTheFij 2022-11-15 08:59:43 -08:00
parent 954a878915
commit e104cbccc4
2 changed files with 10 additions and 2 deletions

View File

@ -207,6 +207,14 @@
state: mounted state: mounted
fstype: nfs4 fstype: nfs4
- name: Create Photo library NFS mount
ansible.posix.mount:
src: 192.168.2.10:/Photos
path: /srv/volumes/photos
opts: proto=tcp,port=2049,rw
state: mounted
fstype: nfs4
- name: Create Download RW NFS mount - name: Create Download RW NFS mount
ansible.posix.mount: ansible.posix.mount:
src: 192.168.2.10:/Download src: 192.168.2.10:/Download
@ -264,7 +272,7 @@
path: /srv/volumes/container/gitea path: /srv/volumes/container/gitea
read_only: false read_only: false
- name: photoprism-media - name: photoprism-media
path: /srv/volumes/media-write/Photoprism path: /srv/volumes/photos/Photoprism
read_only: false read_only: false
- name: all-volumes - name: all-volumes
path: /srv/volumes path: /srv/volumes

View File

@ -248,7 +248,7 @@ module "photoprism_module" {
PHOTOPRISM_SITE_CAPTION = "AI-Powered Photos App" PHOTOPRISM_SITE_CAPTION = "AI-Powered Photos App"
PHOTOPRISM_SITE_DESCRIPTION = "Fijolek home photos" PHOTOPRISM_SITE_DESCRIPTION = "Fijolek home photos"
PHOTOPRISM_SITE_TITLE = "PhotoPrism" PHOTOPRISM_SITE_TITLE = "PhotoPrism"
PHOTOPRISM_SITE_URL = "https://photoprism.thefij.rocks:2342/" # server URL in the format "http(s)://domain.name(:port)/(path)" PHOTOPRISM_SITE_URL = "https://photoprism.thefij.rocks/"
PHOTOPRISM_SPONSOR = "true" PHOTOPRISM_SPONSOR = "true"
# Worker config # Worker config
PHOTOPRISM_WORKERS = 2 PHOTOPRISM_WORKERS = 2