mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-09-01 09:43:32 +02:00
* feat(comicarr): new add-on with Home Assistant ingress Comicarr is a fork of Mylar3 with a React frontend and a FastAPI backend. The upstream image is a plain python:3.12-slim with no s6-overlay, so ha_entrypoint.sh runs as pid 1 and supervises both the app and nginx — the same shape the komga add-on uses. Ingress needs a reverse proxy because the app has no url-base support of any kind: vite emits absolute /assets urls, the api client and the cover img tags build absolute /api and /cache urls, and SecurityHeadersMiddleware sends X-Frame-Options: DENY together with a CSP carrying frame-ancestors 'none', which alone would leave the panel blank. The bundled nginx rewrites those paths onto the ingress entry, replaces the two framing headers with the same policy narrowed to the Home Assistant origin, scopes the session cookie to the ingress path and drops upstream's one-year immutable caching for the rewritten assets. The app is started directly as root by default rather than through the upstream /entrypoint.sh, which runs useradd -u "$PUID" under set -e and would exit on this repo's PUID=0 default; that entrypoint is still used when the user asks for an unprivileged uid. --port 8090 is forced because the port is writable from the Settings page and changing it there would silently break both the proxy and the health check. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * docs(comicarr): note that switching PUID leaves existing files root-owned Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(comicarr): drop ingress_port, the add-on linter rejects the default 8099 is the Supervisor default, and frenck/action-addon-linter fails with "'ingress_port' should be removed, it uses a default value". komga omits it for the same reason; nginx still binds whatever bashio::addon.ingress_port reports. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(comicarr): 0755 on the entrypoint instead of 777 The rest of the repo uses 777 here, but this add-on is the one that offers a non-root mode: with PUID set, the app runs as an unprivileged user that could otherwise rewrite a file docker executes as root on the next start. Nothing writes to /ha_entrypoint.sh at runtime, so 0755 costs nothing. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
106 lines
1.7 KiB
YAML
106 lines
1.7 KiB
YAML
arch:
|
|
- aarch64
|
|
- amd64
|
|
description:
|
|
Automated comic book and manga downloader and library manager with a modern
|
|
React UI
|
|
devices:
|
|
- /dev/dri
|
|
- /dev/dri/card0
|
|
- /dev/dri/card1
|
|
- /dev/dri/renderD128
|
|
- /dev/vchiq
|
|
- /dev/video10
|
|
- /dev/video11
|
|
- /dev/video12
|
|
- /dev/video13
|
|
- /dev/video14
|
|
- /dev/video15
|
|
- /dev/video16
|
|
- /dev/ttyUSB0
|
|
- /dev/sda
|
|
- /dev/sdb
|
|
- /dev/sdc
|
|
- /dev/sdd
|
|
- /dev/sde
|
|
- /dev/sdf
|
|
- /dev/sdg
|
|
- /dev/nvme
|
|
- /dev/nvme0
|
|
- /dev/nvme0n1
|
|
- /dev/nvme0n1p1
|
|
- /dev/nvme0n1p2
|
|
- /dev/nvme0n1p3
|
|
- /dev/nvme1n1
|
|
- /dev/nvme1n1p1
|
|
- /dev/nvme1n1p2
|
|
- /dev/nvme1n1p3
|
|
- /dev/nvme2n1
|
|
- /dev/nvme2n1p1
|
|
- /dev/nvme2n1p2
|
|
- /dev/nvme2n3p3
|
|
- /dev/mmcblk
|
|
- /dev/fuse
|
|
- /dev/sda1
|
|
- /dev/sdb1
|
|
- /dev/sdc1
|
|
- /dev/sdd1
|
|
- /dev/sde1
|
|
- /dev/sdf1
|
|
- /dev/sdg1
|
|
- /dev/sda2
|
|
- /dev/sdb2
|
|
- /dev/sdc2
|
|
- /dev/sdd2
|
|
- /dev/sde2
|
|
- /dev/sdf2
|
|
- /dev/sdg2
|
|
- /dev/sda3
|
|
- /dev/sdb3
|
|
- /dev/sda4
|
|
- /dev/sdb4
|
|
- /dev/sda5
|
|
- /dev/sda6
|
|
- /dev/sda7
|
|
- /dev/sda8
|
|
- /dev/nvme0
|
|
- /dev/nvme1
|
|
- /dev/nvme2
|
|
image: ghcr.io/alexbelgium/comicarr-{arch}
|
|
ingress: true
|
|
init: false
|
|
map:
|
|
- addon_config:rw
|
|
- media:rw
|
|
- share:rw
|
|
name: Comicarr
|
|
options:
|
|
env_vars: []
|
|
PGID: 0
|
|
PUID: 0
|
|
panel_icon: mdi:book-open-page-variant
|
|
ports:
|
|
8090/tcp: 8090
|
|
ports_description:
|
|
8090/tcp: Web interface and OPDS feed
|
|
privileged:
|
|
- SYS_ADMIN
|
|
- DAC_READ_SEARCH
|
|
schema:
|
|
env_vars:
|
|
- name: match(^[A-Za-z0-9_]+$)
|
|
value: str?
|
|
PGID: int
|
|
PUID: int
|
|
TZ: str?
|
|
cifsdomain: str?
|
|
cifspassword: str?
|
|
cifsusername: str?
|
|
localdisks: str?
|
|
networkdisks: str?
|
|
smbv1: bool?
|
|
slug: comicarr
|
|
udev: true
|
|
url: https://github.com/alexbelgium/hassio-addons/tree/master/comicarr
|
|
version: "0.34.0"
|