MetaPlugin/MetaFeeder/MetaTransport apps: headless services (no AppShield, no Caddy route, no webui); drop parent; MetaFeederUsenet tile → nntmux
This commit is contained in:
@@ -36,7 +36,7 @@ services:
|
||||
# ---------------------------------------------------------------------------
|
||||
# metafeederopensubtitles-feeder — the feeder (meta-feeder-opensubtitles) hosting
|
||||
# the `opensubtitles` upstream. The gateway core reaches it directly on `pcs`
|
||||
# for discovery/query; the human configures it through the AppShield gate below.
|
||||
# for discovery/query; the human configures it from the MetaGateway dashboard (configure panel).
|
||||
# ---------------------------------------------------------------------------
|
||||
metafeederopensubtitles-feeder:
|
||||
image: ghcr.io/worph/meta-feeder-opensubtitles:1.0.2
|
||||
@@ -57,7 +57,7 @@ services:
|
||||
environment:
|
||||
# INFRA-ONLY env (the "config: no env if in webui" rule). The OpenSubtitles
|
||||
# API key and User-Agent are read from the persisted config.json written by
|
||||
# this feeder's config page (behind the AppShield gate below).
|
||||
# this feeder's config page (opened from the MetaGateway dashboard (configure panel)).
|
||||
# OPENSUBTITLES_API_KEY / OPENSUBTITLES_USER_AGENT exist only as first-boot
|
||||
# seeds; don't set them here. META_FEEDER_STATE_DIR is left at its default
|
||||
# (/data/meta-feeder), which is what the volume below mounts.
|
||||
@@ -74,49 +74,8 @@ services:
|
||||
retries: 10
|
||||
start_period: 5s
|
||||
networks:
|
||||
- metafeederopensubtitles
|
||||
- pcs
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# AppShield gate — the feeder's config UI (set the OpenSubtitles API key)
|
||||
# behind Yundera OIDC SSO. container_name == subdomain prefix. The gateway
|
||||
# still reaches the feeder directly on `pcs` (this gate is for the human
|
||||
# only); index → /config.
|
||||
# ---------------------------------------------------------------------------
|
||||
metafeederopensubtitles:
|
||||
image: ghcr.io/yundera/appshield:2.0.9
|
||||
cpu_shares: 80
|
||||
container_name: metafeederopensubtitles
|
||||
hostname: metafeederopensubtitles
|
||||
restart: unless-stopped
|
||||
user: "0:0"
|
||||
expose:
|
||||
- 80
|
||||
environment:
|
||||
OIDC_REGISTRAR_URL: "http://auth-registrar:9092"
|
||||
REDIRECT_HOST_SUFFIXES: "${APP_DOMAIN},${APP_PUBLIC_IP_DASH}.nip.io,${APP_PUBLIC_IP_DASH}.sslip.io"
|
||||
BACKEND_HOST: "metafeederopensubtitles-feeder"
|
||||
BACKEND_PORT: "8080"
|
||||
LISTEN_PORT: "80"
|
||||
labels:
|
||||
caddy_0: metafeederopensubtitles-${APP_DOMAIN}
|
||||
caddy_0.import: gateway_tls
|
||||
caddy_0.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy_1: metafeederopensubtitles-${APP_PUBLIC_IP_DASH}.nip.io
|
||||
caddy_1.import: gateway_tls
|
||||
caddy_1.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy_2: metafeederopensubtitles-${APP_PUBLIC_IP_DASH}.sslip.io
|
||||
caddy_2.reverse_proxy: "{{upstreams 80}}"
|
||||
depends_on:
|
||||
- metafeederopensubtitles-feeder
|
||||
networks:
|
||||
- metafeederopensubtitles
|
||||
- pcs
|
||||
|
||||
networks:
|
||||
metafeederopensubtitles:
|
||||
name: metafeederopensubtitles
|
||||
driver: bridge
|
||||
pcs:
|
||||
name: ${APP_NET:-pcs}
|
||||
external: true
|
||||
@@ -128,9 +87,6 @@ x-casaos:
|
||||
author: Worph Team
|
||||
category: Media
|
||||
developer: Aptero Team
|
||||
main: metafeederopensubtitles
|
||||
webui_port: 80
|
||||
index: /config
|
||||
|
||||
description:
|
||||
en_us: |
|
||||
@@ -211,7 +167,7 @@ x-casaos:
|
||||
1. Get a free **OpenSubtitles API key** — opensubtitles.com → sign in →
|
||||
*API consumers* → create a consumer and copy its key. No account
|
||||
password is needed here: this feeder only searches.
|
||||
2. Open this app's config UI (the dashboard link), paste it into
|
||||
2. Open its config panel (the **MetaGateway** dashboard → this feeder → *configure*), paste it into
|
||||
**OpenSubtitles API key** and save. Leave **User-Agent** blank unless
|
||||
OpenSubtitles asks you to use your registered app name. The feeder
|
||||
restarts itself to apply the key.
|
||||
@@ -227,7 +183,7 @@ x-casaos:
|
||||
**Searches must ask for subtitles** (`fileType:subtitle`). A plain search
|
||||
box query never reaches this feeder.
|
||||
|
||||
**Authentication:** the config UI is protected by Yundera's Authelia (OIDC).
|
||||
**No web UI of its own:** configure it from the **MetaGateway** dashboard → this feeder → *configure* (the gateway proxies this feeder's config page, behind the gateway's login).
|
||||
|
||||
# Maison (Yundera dashboard) configuration. Read in preference to x-casaos.
|
||||
# schema_version 2 is required for `folders`: an older Maison refuses the app
|
||||
@@ -241,6 +197,3 @@ x-compose-app:
|
||||
- path: /DATA/AppData/metafeederopensubtitles/state
|
||||
user: $PUID
|
||||
group: $PGID
|
||||
# Same string as the caddy_0 label, so the tile link and the route agree.
|
||||
webui-host: metafeederopensubtitles-${domain}
|
||||
webui-path: "/config"
|
||||
|
||||
Reference in New Issue
Block a user