Compare commits

...

3 commits

Author SHA1 Message Date
d3ab4dd8c8
Add Radicale config 2023-05-16 17:05:47 +02:00
e865368100
Fix install for grafana config 2023-05-16 17:02:38 +02:00
60451a5446
Add photoview conf 2023-05-16 17:02:02 +02:00
7 changed files with 47 additions and 1 deletions

View file

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

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

3
src/Radicale/.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 radicale -g radicale -m a=r,u=rw -b -D -t /etc/radicale/ config

2
src/Radicale/README.md Normal file
View file

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

17
src/Radicale/config Normal file
View file

@ -0,0 +1,17 @@
[server]
hosts = localhost:5232
[auth]
type = htpasswd
htpasswd_filename = /etc/radicale/users
htpasswd_encryption = bcrypt
[rights]
type = from_file
file = /etc/radicale/rights
[web]
type = internal
[logging]
level = warning