diff --git a/README.md b/README.md index cb9ac13..b231945 100644 --- a/README.md +++ b/README.md @@ -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!
+This is how all images should be documented!
But unfortunately, it isn't!
Sometimes you have to spend a lot of time to make it work.
Hence - this repo.
-The aims is to provide a ready-to-run recipes that you can just copy, paste and run.
-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. diff --git a/apps/photos/comparison.md b/apps/photos/comparison.md index c34fbb1..5691da7 100644 --- a/apps/photos/comparison.md +++ b/apps/photos/comparison.md @@ -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 | ✅ | ✅ | ✅ | diff --git a/apps/photos/photostructure.md b/apps/photos/photostructure.md index 3fdbff0..9447fc3 100644 --- a/apps/photos/photostructure.md +++ b/apps/photos/photostructure.md @@ -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 +``` diff --git a/apps/photos/photoview.md b/apps/photos/photoview.md index 29d2261..3317dfc 100644 --- a/apps/photos/photoview.md +++ b/apps/photos/photoview.md @@ -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