alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.47k stars 213 forks source link

✨ [REQUEST] Photoview #1323

Open anduchs opened 5 months ago

anduchs commented 5 months ago

Checked

Which addon?

Photoview: https://photoview.github.io/

Is your feature request related to a problem? Please describe

No

Describe the solution you'd like

It would be great to have this in your repos.

I've already done a quick&dirty addon, but I guess you want to adapt it to your typical layout. Also I don't know if I chose the right directories for everything.

Dockerfile:

FROM viktorstrate/photoview:master

ENV PHOTOVIEW_DATABASE_DRIVER=sqlite \
    PHOTOVIEW_LISTEN_IP=photoview \
    PHOTOVIEW_LISTEN_PORT=80 \
    PHOTOVIEW_SQLITE_PATH=/share/photoview/photoview.db \
    PHOTOVIEW_MEDIA_CACHE=/share/photoview/cache

VOLUME ["/share", "/media"]

config.yaml:

name: Photoview
description: Photoview
version: 0.0.3
slug: photoview
arch:
  - amd64
ports:
  80/tcp: 8001
ports_description:
  80/tcp: "Web Interface"
map:
  - "share:rw"
  - "media:ro"

Also, an alternative docker-repo might be: viktorstrate/photoview:2.3.13 (latest upstream release)

alexbelgium commented 5 months ago

Hi! Thanks for the proposal. As I have already 2 photo gallery apps (piwigo & photoprism) I don't think about adding a new one to the repo at short term... Thanks for your understanding