merge master

This commit is contained in:
Tomasz Borychowski 2021-11-13 21:52:10 +00:00
commit 8a2a567de2
4 changed files with 18 additions and 13 deletions

View File

@ -1,13 +1,13 @@
# Self-hosted Cookbook
If you're like me and love not only to self-host, but to constantly test new apps, you probably already discovered `docker-compose` as the fastest and easiest way towards that goal.
There is, however, one problem: not all image authors are as great as [linuxserver.io](https://hub.docker.com/u/linuxserver), whose docs are as simple as they should be: you just copy & paste `docker-compose.yml` and run `docker-compose up -d` and IT JUST WORKS!
This is how all images should be documented!
There is, however, one problem: not all image authors are as great as [linuxserver.io](https://hub.docker.com/u/linuxserver), whose docs are as simple as they should be: you just copy & paste `docker-compose.yml` and run `docker-compose up -d` and IT JUST WORKS!<br>
This is how all images should be documented!<br>
But unfortunately, it isn't!<br>
Sometimes you have to spend a lot of time to make it work.<br>
Hence - this repo.<br>
The aims is to provide a ready-to-run recipes that you can just copy, paste and run.<br>
So, without further ado, here's the current list:
The aims is to provide a ready-to-run recipes that you can just copy, paste and run.
# How to use this cookbook
- There are certain things that some recipes need which cannot be filled in due to security reasons.
@ -256,7 +256,7 @@ So, without further ado, here's the current list:
- [PhotoView](apps/photos/photoview.md)
### Other tested
- [Chevereto](https://chevereto.com/) 🔗 - quite nice. No video support.
- [Chevereto](https://chevereto.com/) 🔗 - quite nice. No video support. Requires a paid license (~$60-$75).
- [PhotoShow](https://github.com/thibaud-rohmer/PhotoShow/) 🔗 - seems dead and doesn't work.
- [Photosync](https://www.photosync-app.com/home.html) 🔗 - paid, app, not really self-hosted, just sync.
- [OwnPhotos](https://github.com/hooram/ownphotos) 🔗 - limited features, ugly & dead.

View File

@ -1,15 +1,14 @@
| App | UI | Users | Album Sharing | Comments | UI upload | Video support |
|--------------------------------------------------|-----------|------------|----------------------------|----------|-----------|----------------------------------------|
| [Chevereto](https://chevereto.com/) 🔗 | ⭐️⭐️⭐️⭐️⭐️ | ✅ | permissions, passwords | probably | ✅ | ⛔️ |
| [LibrePhotos](libre-photos.md) | ⭐️ | ✅ | links, passwords | ⛔️ | ⛔️ | ⛔️ |
| [Lychee](lychee.md) | ⭐️⭐️⭐️⭐️⭐️ | ✅ | links, passwords | ⛔️ | ✅ | ✅ |
| NextCloud Photos | ⭐️⭐️⭐️⭐️ | ✅ | links, passwords | ✅ | ✅ | ✅ |
| [PhotoPrism](photoprism.md) | ⭐️⭐️⭐️⭐️ | admin only | unique links | ⛔️ | ✅ | ✅ |
| [Pigallery2](pigallery.md) | ⭐️⭐️⭐️⭐️ | ✅ | users, links with password | ⛔️ | ⛔️ | ✅ |
| [Pigallery2](pigallery.md) | ⭐️⭐️⭐️ | ✅ | users, links with password | ⛔️ | ⛔️ | ✅ |
| [Piwigo](piwigo.md) | ⭐️⭐️ | ✅ | user/group permissions | ✅ | ✅ | mp4, m4v, webm, webmv |
| [PixelFed](pixelfed.md) | ⭐️⭐️⭐️⭐️ | ✅ | | ✅ | ✅ | ⛔️ |
| [PhotoStructure](photostructure.md) | ⭐️⭐️⭐️⭐️ | ⛔️ | ⛔️ | ⛔️ | ⛔️ | ✅ |
| [PhotoView](photoview.md) | ⭐️⭐️ | ✅ | unique links with password | ⛔️ | ⛔️ | ✅ |
| [PhotoView](photoview.md) | ⭐️⭐️⭐️ | ✅ | unique links with password | ⛔️ | ⛔️ | ✅ |
| Synology Moments | ⭐️⭐️⭐️⭐️ | ✅ | links | ⛔️ | ✅ | ✅ |
| Synology Photo Station | ⭐️⭐️⭐️ | ✅ | links, passwords | ✅ | ✅ | ✅ |

View File

@ -31,3 +31,8 @@ services:
- ./logs:/ps/logs
- /mnt/photos:/photos
```
If `docker-compose logs` show permission access errors, changing permissions to the generated folders may be required:
```sh
sudo chmod -R 777 config cache library logs photos
```

View File

@ -9,6 +9,7 @@ Photo gallery for self-hosted personal servers.
## docker-compose.yml
```yml
---
version: "3"
services:
db:
@ -30,11 +31,11 @@ services:
depends_on:
- db
environment:
- MYSQL_URL=photoview:photo-secret@tcp(db)/photoview
- API_LISTEN_IP=photoview
- API_LISTEN_PORT=80
- PHOTO_CACHE=/app/cache
- PUBLIC_ENDPOINT=http://192.168.1.10:3090/
- PHOTOVIEW_DATABASE_DRIVER=mysql
- PHOTOVIEW_MYSQL_URL=photoview:photo-secret@tcp(db)/photoview
- PHOTOVIEW_LISTEN_IP=photoview
- PHOTOVIEW_LISTEN_PORT=80
- PHOTOVIEW_MEDIA_CACHE=/app/cache
volumes:
- ./cache:/app/cache
- ./photos:/photos:ro