Merge pull request #514 from feinedsquirrel/systemd
add supported systems and systemd files
This commit is contained in:
commit
9b19a39f61
|
@ -28,6 +28,7 @@ Password: **demo**
|
||||||
|
|
||||||
- [Demo site](#demo-site)
|
- [Demo site](#demo-site)
|
||||||
- [Main features](#main-features)
|
- [Main features](#main-features)
|
||||||
|
- [Supported Platforms](#supported-platforms)
|
||||||
- [Why yet another self-hosted photo gallery](#why-yet-another-self-hosted-photo-gallery)
|
- [Why yet another self-hosted photo gallery](#why-yet-another-self-hosted-photo-gallery)
|
||||||
- [Getting started - Setup with Docker](#getting-started---setup-with-docker)
|
- [Getting started - Setup with Docker](#getting-started---setup-with-docker)
|
||||||
- [Set up development environment](#setup-development-environment)
|
- [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.
|
- **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).
|
- **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
|
## 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.
|
There exists a lot of open-source self-hosted photo galleries already. Here are some, just to mention a few.
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
u photoview - "photoview user"
|
|
@ -0,0 +1,2 @@
|
||||||
|
e /var/cache/photoview 0750 photoview photoview
|
||||||
|
e /var/lib/photoview 0750 photoview photoview
|
Loading…
Reference in New Issue