Files
archy/apps/podsteadr/manifest.yml
T
ssmithxandClaude Opus 5.5 bfe0eb96ee fix(podsteadr): install nostr-provider.js into /data
The post_install hook copied the host's nostr-provider.js to
/app/public, which is on the read-only root filesystem, so the copy failed
(logged and skipped) and the app kept serving its stale bundled script.
Copy it to /data instead, check it landed, and point the server at it
with ARCHIPELAGO_PROVIDER_PATH, as gashboard does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 04:21:45 +00:00

150 lines
5.6 KiB
YAML

app:
id: podsteadr
name: podsteadr
version: "1.0.0"
description: Self-hosted, nostr-native podcast publishing and livestreaming. Log in with Nostr, upload episodes or go live via OBS/WebRTC, publish to RSS with Podcasting 2.0 lightning payments.
category: media
# Container/DNS-alias name deliberately NOT "podsteadr" — on a host whose own
# hostname happens to be "podsteadr", the host's own /etc/hosts self-hostname
# entry (127.0.1.1, e.g. from cloud-init) shadows the container network's DNS
# alias for other containers looking up "podsteadr", and mediamtx's auth-webhook
# callback resolves to the host's loopback instead of this container — every
# RTMP publish gets rejected with "connection refused" (observed on a
# production node, 2026-07-30; see docker-compose.yml in the podsteadr repo
# for the original writeup). Carried forward unchanged into the manifest.
container_name: podsteadr-app
container:
# Built from the podsteadr repo (source lives outside this tree — see
# apps/podsteadr/README.md: build-from-prototype.sh builds it locally under
# this exact tag, push-to-registry.sh publishes it), same pattern as
# apps/indeedhub.
image: source.archipelago-foundation.org/lfg2025/podsteadr:1.0.0
pull_policy: if-not-present
network: podsteadr-net
network_aliases: [podsteadr-app]
derived_env:
- key: PUBLIC_URL
template: "http://{{HOST_MDNS}}:8095"
- key: MEDIAMTX_RTMP_PUBLIC
template: "rtmp://{{HOST_MDNS}}:1935"
- key: MEDIAMTX_WHIP_PUBLIC
template: "http://{{HOST_MDNS}}:8889"
- key: MEDIAMTX_HLS_PUBLIC
template: "http://{{HOST_MDNS}}:8890"
- key: BLOSSOM_URL_DEFAULT
template: "http://{{HOST_MDNS}}:8098"
# node:22-bookworm-slim's built-in `node` user is uid:gid 1000:1000. The
# image's own Dockerfile chowns /data to node:node, but that only affects
# the image layer — the actual runtime mount is the bind volume below, so
# the host directory needs the same ownership or the read-only-root,
# non-root `node` process can't open the SQLite DB (unverified against a
# real node install; flagging per this repo's convention of documenting
# bind-mount ownership assumptions, e.g. apps/botfights/manifest.yml).
data_uid: "1000:1000"
# The whole stack installs, starts, stops and uninstalls together
# (stack_member_app_ids in core/archipelago/src/app_ops.rs).
dependencies:
- app_id: podsteadr-mediamtx
- app_id: podsteadr-blossom
- app_id: podsteadr-player
- storage: 2Gi
resources:
cpu_limit: 2
memory_limit: 1Gi
disk_limit: 2Gi
security:
capabilities: []
readonly_root: true
no_new_privileges: true
network_policy: isolated
ports:
- host: 8095
container: 8095
protocol: tcp
auth: none
auth_rationale: >-
podsteadr is a public podcast/livestream server: RSS feeds and the
marketplace/catalog API must stay fetchable by third-party podcast
clients, crawlers, and other podsteadr instances with no Archipelago
session, and the app already gates its own sensitive routes with
NIP-98 signed-request auth (see server/src/plugins/nostr-auth.ts in
the podsteadr repo). Putting the node's session gate in front would
block every external RSS/API consumer without adding real protection.
volumes:
- type: bind
source: /var/lib/archipelago/podsteadr
target: /data
options: [rw]
# Shares podsteadr-mediamtx's recordings directory (rw there, ro here) so
# the app can list/remux finished recordings for one-click episode
# publishing without granting it write access to live segments.
- type: bind
source: /var/lib/archipelago/podsteadr/recordings
target: /recordings
options: [ro]
environment:
- NODE_ENV=production
- PORT=8095
- DATA_DIR=/data
- RECORDINGS_DIR=/recordings
- MEDIAMTX_API_URL=http://mediamtx:9997
- BLOSSOM_URL_INTERNAL=http://blossom:3000
- NOSTR_RELAYS=wss://relay.damus.io,wss://nos.lol,wss://relay.nostr.band
- CASHU_MINT_URL_DEFAULT=https://mint.minibits.cash/Bitcoin
- ARCHIPELAGO_PROVIDER_PATH=/data/nostr-provider.js
# podsteadr's Fastify server (fastify-static) isn't the nginx-served SPA
# shape the platform auto-patches for NIP-07 injection (see "Nostr Signer
# Bridge" in docs/app-developer-guide.md) — its frontend already
# self-references /nostr-provider.js from index.html and vendors a copy at
# build time. That vendored copy goes stale across archy OTA releases and
# the root filesystem is read-only, so copy the canonical host script into
# /data on every install/reinstall; the server serves it from
# ARCHIPELAGO_PROVIDER_PATH and falls back to the vendored copy.
hooks:
post_install:
- copy_from_host:
src: "web-ui/nostr-provider.js"
dest: /data/nostr-provider.js
- exec: ["test", "-s", "/data/nostr-provider.js"]
health_check:
type: http
endpoint: http://localhost:8095
path: /api/health
interval: 30s
timeout: 5s
retries: 3
interfaces:
main:
name: Web UI
description: Podcast dashboard, upload/live wizard, and stream management
type: ui
port: 8095
protocol: http
path: /
metadata:
author: podsteadr
icon: /assets/img/app-icons/podsteadr.svg
repo: https://gitworkshop.dev/npub1krldcq2laqxeslseue8uyk24vg6mhmv0ra6ldc52hyfwdx5azd8se5j65x/relay.ngit.dev/podsteadr
license: MIT
tags:
- nostr
- podcast
- livestream
- media
- rss
- lightning
launch:
open_in_new_tab: false