Compare commits
3 commits
45fd2e048e
...
d3ab4dd8c8
Author | SHA1 | Date | |
---|---|---|---|
d3ab4dd8c8 | |||
e865368100 | |||
60451a5446 |
7 changed files with 47 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env fish
|
||||
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
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
|
3
src/Radicale/.install.fish
Executable file
3
src/Radicale/.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 radicale -g radicale -m a=r,u=rw -b -D -t /etc/radicale/ config
|
2
src/Radicale/README.md
Normal file
2
src/Radicale/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Radicale
|
||||
Install to `/etc/radicale`.
|
17
src/Radicale/config
Normal file
17
src/Radicale/config
Normal 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
|
Loading…
Reference in a new issue