1
Fork 0

add supported systems and systemd files

This commit is contained in:
feinedsquirrel 2021-09-10 22:39:39 -06:00
parent bb613345ee
commit adbfa2d8d0
4 changed files with 30 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Password: **demo**
- [Demo site](#demo-site)
- [Main features](#main-features)
- [Supported Platforms](#supported-platforms)
- [Why yet another self-hosted photo gallery](#why-yet-another-self-hosted-photo-gallery)
- [Getting started - Setup with Docker](#getting-started---setup-with-docker)
- [Set up development environment](#setup-development-environment)
@ -44,6 +45,14 @@ Password: **demo**
- **Performant**. Thumbnails are automatically generated and photos first load when they are visible on the screen. In full screen, thumbnails are displayed until the high resolution image has been fully loaded.
- **Secure**. All media resources are protected with a cookie-token, all passwords are properly hashed, and the API uses a strict [CORS policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).
## Supported platforms
- [Docker](https://hub.docker.com/r/viktorstrate/photoview/)
- [Arch Linux Aur](https://aur.archlinux.org/packages/photoview)
- [Unraid](https://forums.unraid.net/topic/103028-support-photoview-corneliousjd-repo/)
- EmbassyOS: [announcement](https://start9labs.medium.com/new-service-photoview-72ee681b2ff0), [repo](https://github.com/Start9Labs/embassyos-photoview-wrapper)
- [YunoHost](https://github.com/YunoHost-Apps/photoview_ynh)
## Why yet another self-hosted photo gallery
There exists a lot of open-source self-hosted photo galleries already. Here are some, just to mention a few.

18
systemd/photoview.service Normal file
View File

@ -0,0 +1,18 @@
[Unit]
Description=Photoview - Photo gallery for self-hosted personal servers
Documentation=https://photoview.github.io/docs
After=network.target
[Service]
ExecStart=/usr/lib/photoview/photoview
WorkingDirectory=/usr/lib/photoview
User=photoview
Group=photoview
ReadWritePaths=/var/lib/photoview
EnvironmentFile=/etc/photoview.env
CacheDirectory=photoview/media_cache
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1 @@
u photoview - "photoview user"

View File

@ -0,0 +1,2 @@
e /var/cache/photoview 0750 photoview photoview
e /var/lib/photoview 0750 photoview photoview