1
Fork 0

Add photoview conf

This commit is contained in:
Edgar P. Burkhart 2023-05-16 17:02:02 +02:00
parent 45fd2e048e
commit 60451a5446
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
3 changed files with 24 additions and 0 deletions

3
src/Photoview/.install.fish Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env fish
read -P "Install main config [yN] ? " inst
test $inst = "y"; and sudo install -o photoview -g photoview -m o=,g=r,u=rw -b -D -t /etc/ photoview.env

2
src/Photoview/README.md Normal file
View File

@ -0,0 +1,2 @@
# Photoview
Install to `/etc`.

View File

@ -0,0 +1,19 @@
PHOTOVIEW_DATABASE_DRIVER=postgres
PHOTOVIEW_POSTGRES_URL=postgresql:///photoview?host=/run/postgresql
PHOTOVIEW_LISTEN_IP=localhost
PHOTOVIEW_LISTEN_PORT=8123
PHOTOVIEW_PUBLIC_ENDPOINT=https://photos.edgarpierre.fr/
PHOTOVIEW_MEDIA_CACHE=/var/cache/photoview/media_cache
PHOTOVIEW_SERVE_UI=1
PHOTOVIEW_UI_PATH=/usr/share/webapps/photoview-ui
MAPBOX_TOKEN=$$$
PHOTOVIEW_DISABLE_FACE_RECOGNITION=1
PATH=/usr/bin:/usr/bin/vendor_perl
HOME=/var/lib/photoview