Add edit group_data
This commit is contained in:
parent
6edab9597b
commit
b4a20ea6e9
1 changed files with 7 additions and 4 deletions
11
README.md
11
README.md
|
@ -1,11 +1,9 @@
|
||||||
# photoprism
|
# 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
|
# Deployment
|
||||||
|
|
||||||
## On LXD
|
|
||||||
|
|
||||||
```
|
```
|
||||||
# lxc launch images:debian/11 <name>
|
# lxc launch images:debian/11 <name>
|
||||||
# lxec exec <name> bash
|
# lxec exec <name> bash
|
||||||
|
@ -13,9 +11,14 @@ Pyinfra that deploys PhotoPrism un-dockerized. Mostly to be used in LXD/C.
|
||||||
# pip install pyinfra
|
# pip install pyinfra
|
||||||
# git clone https://git.benpro.fr/benoit/photoprism.git
|
# git clone https://git.benpro.fr/benoit/photoprism.git
|
||||||
# cd photoprism
|
# cd photoprism
|
||||||
|
# ###!!!### Edit group_data/production.py
|
||||||
# pyinfra @local deploy.py
|
# pyinfra @local deploy.py
|
||||||
```
|
```
|
||||||
|
|
||||||
# Attach a pictures volume
|
# Attach a pictures volume
|
||||||
|
|
||||||
If required, you can mount an external volume.
|
If required, you can mount external volumes. Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
lxc config device add <name> <name>_disk disk source=/dev/vdf path=/home/photoprism/storage/originals readonly=true raw.mount.options=noload
|
||||||
|
```
|
||||||
|
|
Reference in a new issue