Add photoview conf
This commit is contained in:
parent
45fd2e048e
commit
60451a5446
3 changed files with 24 additions and 0 deletions
3
src/Photoview/.install.fish
Executable file
3
src/Photoview/.install.fish
Executable 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
2
src/Photoview/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Photoview
|
||||
Install to `/etc`.
|
19
src/Photoview/photoview.env
Normal file
19
src/Photoview/photoview.env
Normal 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
|
Loading…
Reference in a new issue