Pyinfra that deploy PhotoPrism un-dockerized. Mostly to be used in LXD/C.
group_data | ||
inventories | ||
templates | ||
.gitignore | ||
deploy.py | ||
LICENSE | ||
README.md |
photoprism
Pyinfra that deploy PhotoPrism un-dockerized on a Debian 11 LXD container.
Deployment
# lxc launch images:debian/11 <name>
# lxec exec <name> bash
# apt update && apt install python3-pip git
# 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 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