Import the MetaMesh app family from Worph/AppStore
23 apps (MetaCore, the library/network/client tiers and 13 MetaFeeder*) move out of the general-purpose Worph/AppStore into their own store so the MetaMesh family releases on its own cadence. - asset URLs repointed to cdn.jsdelivr.net/gh/Worph/MetaAppStore@main - store scaffolding added (category/recommend/featured lists, licence, contributing, gitattributes) - psd-source/meta-icons-v2 icon generator follows the apps MetaMCP stays in Worph/AppStore: it is third-party metatool-ai software, not part of MetaMesh.
This commit is contained in:
@@ -0,0 +1,157 @@
|
||||
name: metafeedereuropepmc
|
||||
|
||||
# =============================================================================
|
||||
# MetaFeeder · Europe PMC — biomedical literature (PubMed) for MetaMesh.
|
||||
#
|
||||
# Keyless: searches Europe PMC (PubMed and PubMed Central) and returns the
|
||||
# records to the MetaGateway core, which stores + announces them. The upstream
|
||||
# id is `pubmed`. Split out of the former MetaFeeder · Papers app.
|
||||
#
|
||||
# It needs, over the shared `pcs` network:
|
||||
# - the **MetaGateway** app — which must list this feeder's URL
|
||||
# (`http://metafeedereuropepmc-feeder:8080`) in its feeders config so it gets discovered.
|
||||
# Discovery is startup-only, so restart the gateway afterwards.
|
||||
#
|
||||
# Everything is scoped under the `metafeedereuropepmc-*` prefix + the per-stack `metafeedereuropepmc` network +
|
||||
# /DATA/AppData/metafeedereuropepmc/ data root, so it installs beside the other Meta* apps with
|
||||
# zero collisions.
|
||||
# =============================================================================
|
||||
|
||||
services:
|
||||
# ---------------------------------------------------------------------------
|
||||
# metafeedereuropepmc-feeder — the europepmc feeder (upstream `pubmed`). Keyless.
|
||||
# ---------------------------------------------------------------------------
|
||||
metafeedereuropepmc-feeder:
|
||||
image: ghcr.io/worph/meta-feeder-europepmc:1.0.1
|
||||
cpu_shares: 30
|
||||
container_name: metafeedereuropepmc-feeder
|
||||
hostname: metafeedereuropepmc-feeder
|
||||
restart: unless-stopped
|
||||
user: "0:0"
|
||||
expose:
|
||||
- 8080
|
||||
environment:
|
||||
RUST_LOG: "info,meta_feeder=info"
|
||||
META_FEEDER_STATE_DIR: "/data/meta-feeder"
|
||||
TZ: "$TZ"
|
||||
volumes:
|
||||
# Persist feeder config.json + redb cache so it survives recreate.
|
||||
- ${DATA_ROOT:-/DATA}/AppData/metafeedereuropepmc/state:/data/meta-feeder:rw
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 10
|
||||
start_period: 5s
|
||||
networks:
|
||||
- metafeedereuropepmc
|
||||
- pcs
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# AppShield gate — the feeder's config page behind Yundera OIDC SSO.
|
||||
# container_name == subdomain prefix (the auth-registrar derives the client_id
|
||||
# from it). The gateway still reaches the feeder directly on `pcs`; index → /config.
|
||||
# ---------------------------------------------------------------------------
|
||||
metafeedereuropepmc:
|
||||
image: ghcr.io/yundera/appshield:2.0.9
|
||||
cpu_shares: 80
|
||||
container_name: metafeedereuropepmc
|
||||
hostname: metafeedereuropepmc
|
||||
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: "metafeedereuropepmc-feeder"
|
||||
BACKEND_PORT: "8080"
|
||||
LISTEN_PORT: "80"
|
||||
labels:
|
||||
caddy_0: metafeedereuropepmc-${APP_DOMAIN}
|
||||
caddy_0.import: gateway_tls
|
||||
caddy_0.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy_1: metafeedereuropepmc-${APP_PUBLIC_IP_DASH}.nip.io
|
||||
caddy_1.import: gateway_tls
|
||||
caddy_1.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy_2: metafeedereuropepmc-${APP_PUBLIC_IP_DASH}.sslip.io
|
||||
caddy_2.reverse_proxy: "{{upstreams 80}}"
|
||||
depends_on:
|
||||
- metafeedereuropepmc-feeder
|
||||
networks:
|
||||
- metafeedereuropepmc
|
||||
- pcs
|
||||
|
||||
networks:
|
||||
metafeedereuropepmc:
|
||||
name: metafeedereuropepmc
|
||||
driver: bridge
|
||||
pcs:
|
||||
name: ${APP_NET:-pcs}
|
||||
external: true
|
||||
|
||||
x-casaos:
|
||||
architectures:
|
||||
- amd64
|
||||
- arm64
|
||||
author: Worph Team
|
||||
category: Media
|
||||
developer: Aptero Team
|
||||
main: metafeedereuropepmc
|
||||
webui_port: 80
|
||||
index: /config
|
||||
|
||||
description:
|
||||
en_us: |
|
||||
**Europe PMC (PubMed) for the MetaMesh network.**
|
||||
|
||||
MetaFeeder · Europe PMC bridges biomedical literature from **Europe PMC** —
|
||||
PubMed and PubMed Central — into MetaMesh. Keyless — no setup required.
|
||||
**Requires:** **MetaGateway** — its meta-core stores the resolved records and
|
||||
announces them to the swarm. The gateway must list this feeder in its config.
|
||||
fr_fr: |
|
||||
**Europe PMC (PubMed) pour le réseau MetaMesh.**
|
||||
|
||||
MetaFeeder · Europe PMC connecte la littérature biomédicale d'**Europe PMC**
|
||||
— PubMed et PubMed Central — à MetaMesh. Sans clé ni configuration.
|
||||
**Nécessite** l'app **MetaGateway**.
|
||||
tagline:
|
||||
en_us: Europe PMC / PubMed biomedical literature for MetaMesh
|
||||
fr_fr: Littérature biomédicale Europe PMC / PubMed pour MetaMesh
|
||||
|
||||
title:
|
||||
en_us: MetaFeeder · Europe PMC
|
||||
|
||||
icon: https://cdn.jsdelivr.net/gh/Worph/MetaAppStore@main/Apps/MetaFeederEuropePMC/icon.png
|
||||
thumbnail: https://cdn.jsdelivr.net/gh/Worph/MetaAppStore@main/Apps/MetaFeederEuropePMC/thumbnail.png
|
||||
|
||||
store_app_id: metafeedereuropepmc
|
||||
is_uncontrolled: false
|
||||
|
||||
tips:
|
||||
before_install:
|
||||
en_us: |
|
||||
**Install order:** install **MetaGateway** first (its meta-core stores and
|
||||
announces what this feeder finds).
|
||||
|
||||
**After installing this app:** in **MetaGateway**, add this feeder from the
|
||||
dashboard's *Add a feeder* box — name `europepmc-feeder`, URL `http://metafeedereuropepmc-feeder:8080`.
|
||||
The gateway restarts itself: feeder discovery is startup-only.
|
||||
No other setup.
|
||||
**Authentication:** the config UI is protected by Yundera's Authelia (OIDC).
|
||||
|
||||
# Maison (Yundera dashboard) configuration. Read in preference to x-casaos.
|
||||
# schema_version 2 is required for `folders`: an older Maison refuses the app
|
||||
# outright rather than starting it without its directories.
|
||||
x-compose-app:
|
||||
schema_version: 2
|
||||
# Created and chowned by Maison before any image is pulled, before any hook
|
||||
# runs and before the containers start — on the first boot and every one after.
|
||||
# Compose would otherwise create a missing bind source as a root-owned dir.
|
||||
folders:
|
||||
- path: /DATA/AppData/metafeedereuropepmc/state
|
||||
user: $PUID
|
||||
group: $PGID
|
||||
# Same string as the caddy_0 label, so the tile link and the route agree.
|
||||
webui-host: metafeedereuropepmc-${domain}
|
||||
webui-path: "/config"
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
@@ -0,0 +1,33 @@
|
||||
# MetaFeeder · Europe PMC — Rationale
|
||||
|
||||
## What deviation / exception is being requested
|
||||
|
||||
`metafeedereuropepmc-feeder` runs `user: 0:0`.
|
||||
|
||||
## Why it is necessary
|
||||
|
||||
Carried over unchanged from the listing this app was split out of (MetaFeeder · Papers), so the
|
||||
feeder behaves exactly as it did there. The MetaFeeder images write their state and
|
||||
redb cache as the container user and some reach MetaCore's root-owned tree; a uid-1000
|
||||
process is refused.
|
||||
|
||||
## Security mitigations in place
|
||||
|
||||
- Public ingress terminates at the AppShield sidecar (`ghcr.io/yundera/appshield:2.0.9`),
|
||||
which gates every path behind the PCS's Authelia SSO over OIDC. The feeder carries no
|
||||
Caddy labels and publishes no host port, so it is reachable only from the `pcs` Docker
|
||||
network.
|
||||
- The container mounts **no user directories** — not `/DATA/Documents`, `/DATA/Downloads`,
|
||||
`/DATA/Media` or `/DATA/Gallery`. Its only bind is its own state under
|
||||
`/DATA/AppData/metafeedereuropepmc/`, declared in `x-compose-app.folders` and owned `$PUID:$PGID`.
|
||||
- `cpu_shares` set on every service; image tags pinned; no `:latest`.
|
||||
|
||||
## Alternatives considered and rejected
|
||||
|
||||
- **Run as `$PUID:$PGID`.** Not validated for this image; switching the runtime user in
|
||||
the same change as the split would mix a behaviour change into a packaging change.
|
||||
|
||||
## Data protection
|
||||
|
||||
The feeder holds no user media. Its entire state lives under `/DATA/AppData/metafeedereuropepmc/`, which
|
||||
is the unit Maison archives on uninstall and restores from backup.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
Reference in New Issue
Block a user