111 lines
4.2 KiB
YAML
111 lines
4.2 KiB
YAML
name: metafeederarxiv
|
|
|
|
# =============================================================================
|
|
# MetaFeeder · arXiv — preprints for MetaMesh.
|
|
#
|
|
# Keyless: finds papers on arXiv and returns the records to the MetaGateway
|
|
# core, which stores + announces them. Split out of the former
|
|
# MetaFeeder · Papers app (one provider per app).
|
|
#
|
|
# It needs, over the shared `pcs` network:
|
|
# - the **MetaGateway** app — which must list this feeder's URL
|
|
# (`http://metafeederarxiv-feeder:8080`) in its feeders config so it gets discovered.
|
|
# Discovery is startup-only, so restart the gateway afterwards.
|
|
#
|
|
# Everything is scoped under the `metafeederarxiv-*` prefix + the per-stack `metafeederarxiv` network +
|
|
# /DATA/AppData/metafeederarxiv/ data root, so it installs beside the other Meta* apps with
|
|
# zero collisions.
|
|
# =============================================================================
|
|
|
|
services:
|
|
# ---------------------------------------------------------------------------
|
|
# metafeederarxiv-feeder — the arxiv feeder. Keyless; no config needed.
|
|
# ---------------------------------------------------------------------------
|
|
metafeederarxiv-feeder:
|
|
image: ghcr.io/worph/meta-feeder-arxiv:1.0.2
|
|
cpu_shares: 30
|
|
container_name: metafeederarxiv-feeder
|
|
hostname: metafeederarxiv-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/metafeederarxiv/state:/data/meta-feeder:rw
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 10
|
|
start_period: 5s
|
|
networks:
|
|
- pcs
|
|
networks:
|
|
pcs:
|
|
name: ${APP_NET:-pcs}
|
|
external: true
|
|
|
|
x-casaos:
|
|
architectures:
|
|
- amd64
|
|
- arm64
|
|
author: Worph Team
|
|
category: Media
|
|
developer: Aptero Team
|
|
|
|
description:
|
|
en_us: |
|
|
**arXiv for the MetaMesh network.**
|
|
|
|
MetaFeeder · arXiv bridges open-access preprints from **arXiv** 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: |
|
|
**arXiv pour le réseau MetaMesh.**
|
|
|
|
MetaFeeder · arXiv connecte les prépublications en libre accès d'**arXiv** à
|
|
MetaMesh. Sans clé ni configuration. **Nécessite** l'app **MetaGateway**.
|
|
tagline:
|
|
en_us: arXiv open-access preprints for MetaMesh
|
|
fr_fr: Prépublications arXiv en libre accès pour MetaMesh
|
|
|
|
title:
|
|
en_us: MetaFeeder · arXiv
|
|
|
|
icon: https://cdn.jsdelivr.net/gh/Worph/MetaAppStore@main/Apps/MetaFeederArxiv/icon.png
|
|
thumbnail: https://cdn.jsdelivr.net/gh/Worph/MetaAppStore@main/Apps/MetaFeederArxiv/thumbnail.png
|
|
|
|
store_app_id: metafeederarxiv
|
|
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 `arxiv-feeder`, URL `http://metafeederarxiv-feeder:8080`.
|
|
The gateway restarts itself: feeder discovery is startup-only.
|
|
No other setup.
|
|
**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
|
|
# 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/metafeederarxiv/state
|
|
user: $PUID
|
|
group: $PGID
|