127 lines
5.6 KiB
YAML
127 lines
5.6 KiB
YAML
name: metafeederinternetarchive
|
|
|
|
# =============================================================================
|
|
# MetaFeeder · Internet Archive — free audio from archive.org for MetaMesh.
|
|
#
|
|
# Bridges the Internet Archive's open audio collections (etree live recordings,
|
|
# netlabels, 78rpm transfers) into MetaMesh. Keyless and open: no account, no
|
|
# API key, nothing to configure. Covers are taken from the archive's own
|
|
# thumbnail service, which answers for every item — without a cover the
|
|
# consumer's quality gate would drop the whole free tier into the raw bucket.
|
|
#
|
|
# It needs, over the shared `pcs` network:
|
|
# - the **MetaGateway** app — which must list this feeder's URL
|
|
# (`http://metafeederinternetarchive-feeder:8080`) in its feeders config so it gets discovered.
|
|
# Discovery is startup-only, so restart the gateway afterwards.
|
|
#
|
|
# Everything is scoped under the `metafeederinternetarchive-*` prefix + the per-stack `metafeederinternetarchive` network +
|
|
# /DATA/AppData/metafeederinternetarchive/ data root, so it installs beside the other Meta* apps with
|
|
# zero collisions.
|
|
# =============================================================================
|
|
|
|
services:
|
|
# ---------------------------------------------------------------------------
|
|
# metafeederinternetarchive-feeder — the feeder itself. The gateway reaches it directly on
|
|
# `pcs` for discovery/query/compute; the human configures it
|
|
# from the MetaGateway dashboard (configure panel).
|
|
# ---------------------------------------------------------------------------
|
|
metafeederinternetarchive-feeder:
|
|
image: ghcr.io/worph/meta-feeder-internetarchive:1.1.3
|
|
cpu_shares: 30
|
|
container_name: metafeederinternetarchive-feeder
|
|
# Bytes tier: a single archive item can list hundreds of files and one
|
|
# track is buffered whole before it is handed over, so 256m (the identity
|
|
# feeders' figure) is too tight. Swap disabled → OOM instead of thrash.
|
|
mem_limit: 512m
|
|
memswap_limit: 512m
|
|
hostname: metafeederinternetarchive-feeder
|
|
restart: unless-stopped
|
|
user: "0:0"
|
|
expose:
|
|
- 8080
|
|
environment:
|
|
RUST_LOG: "info,meta_feeder=info,internetarchive_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/metafeederinternetarchive/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: |
|
|
**Free audio from the Internet Archive, on the MetaMesh network.**
|
|
|
|
MetaFeeder · Internet Archive bridges archive.org's open audio collections —
|
|
**etree** live recordings, **netlabels**, **78rpm** transfers — into MetaMesh.
|
|
Keyless and open: nothing to sign up for, nothing to configure.
|
|
|
|
It is a *bytes* tier: the audio it finds is fetched and seeded to the swarm,
|
|
so a track stays playable for the next peer that asks.
|
|
**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: |
|
|
**L'audio libre d'Internet Archive, sur le réseau MetaMesh.**
|
|
|
|
MetaFeeder · Internet Archive connecte les collections audio ouvertes
|
|
d'archive.org (**etree**, **netlabels**, **78rpm**) à MetaMesh. Sans clé et
|
|
sans configuration. C'est une couche *octets* : l'audio trouvé est récupéré
|
|
puis partagé au swarm. **Nécessite** l'app **MetaGateway**.
|
|
tagline:
|
|
en_us: Internet Archive free audio (etree, netlabels, 78rpm) for MetaMesh
|
|
fr_fr: L'audio libre d'Internet Archive (etree, netlabels, 78rpm) pour MetaMesh
|
|
|
|
title:
|
|
en_us: MetaFeeder · Internet Archive
|
|
|
|
icon: https://cdn.jsdelivr.net/gh/Worph/MetaAppStore@main/Apps/MetaFeederInternetArchive/icon.png
|
|
thumbnail: https://cdn.jsdelivr.net/gh/Worph/MetaAppStore@main/Apps/MetaFeederInternetArchive/thumbnail.png
|
|
|
|
store_app_id: metafeederinternetarchive
|
|
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 `internetarchive-feeder`, URL `http://metafeederinternetarchive-feeder:8080`.
|
|
The gateway restarts itself: feeder discovery is startup-only.
|
|
No API key and no account: the feeder answers as soon as the gateway
|
|
discovers it. Pairs with **MetaListen** for a music client.
|
|
**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/metafeederinternetarchive/state
|
|
user: $PUID
|
|
group: $PGID
|