From b4a20ea6e9509138aad8c0b87bb7b454eb68517b Mon Sep 17 00:00:00 2001 From: Benoit S Date: Sun, 26 Sep 2021 21:23:55 +0900 Subject: [PATCH] Add edit group_data --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a8b24ec..1e5abc2 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,9 @@ # photoprism -Pyinfra that deploys PhotoPrism un-dockerized. Mostly to be used in LXD/C. +Pyinfra that deploy PhotoPrism un-dockerized on a Debian 11 LXD container. # Deployment -## On LXD - ``` # lxc launch images:debian/11 # lxec exec bash @@ -13,9 +11,14 @@ Pyinfra that deploys PhotoPrism un-dockerized. Mostly to be used in LXD/C. # pip install pyinfra # git clone https://git.benpro.fr/benoit/photoprism.git # cd photoprism +# ###!!!### Edit group_data/production.py # pyinfra @local deploy.py ``` # Attach a pictures volume -If required, you can mount an external volume. +If required, you can mount external volumes. Example: + +``` +lxc config device add _disk disk source=/dev/vdf path=/home/photoprism/storage/originals readonly=true raw.mount.options=noload +```