diff --git a/ansible_playbooks/setup-cluster.yml b/ansible_playbooks/setup-cluster.yml index fc0a5b8..1478f50 100644 --- a/ansible_playbooks/setup-cluster.yml +++ b/ansible_playbooks/setup-cluster.yml @@ -207,6 +207,14 @@ state: mounted 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 ansible.posix.mount: src: 192.168.2.10:/Download @@ -264,7 +272,7 @@ path: /srv/volumes/container/gitea read_only: false - name: photoprism-media - path: /srv/volumes/media-write/Photoprism + path: /srv/volumes/photos/Photoprism read_only: false - name: all-volumes path: /srv/volumes diff --git a/services/main.tf b/services/main.tf index 158702c..e071918 100644 --- a/services/main.tf +++ b/services/main.tf @@ -248,7 +248,7 @@ module "photoprism_module" { PHOTOPRISM_SITE_CAPTION = "AI-Powered Photos App" PHOTOPRISM_SITE_DESCRIPTION = "Fijolek home photos" 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" # Worker config PHOTOPRISM_WORKERS = 2