MetaTransport apps: headless MetaShare extensions (parent: metashare), no AppShield/Caddy route; config via MetaShare's proxy
This commit is contained in:
@@ -9,6 +9,10 @@ name: metatransportipfs
|
||||
# `tmp/` → `cache/` promote is one rename(2), and the hull reads plugin-written
|
||||
# files directly). Its own settings live in its state dir (config.json), edited
|
||||
# through MetaShare's dashboard.
|
||||
#
|
||||
# A headless service: no tile link, no Caddy route, no AppShield. Its config
|
||||
# page is reached only through MetaShare (Plugins → configure, proxied by
|
||||
# /api/plugins/<name>/ui/*), behind MetaShare's own perimeter.
|
||||
|
||||
services:
|
||||
metashare-ipfs:
|
||||
@@ -53,45 +57,9 @@ services:
|
||||
retries: 10
|
||||
start_period: 30s
|
||||
networks:
|
||||
- metatransportipfs
|
||||
- pcs
|
||||
|
||||
# OIDC perimeter in front of the plugin's own config page (the tile link).
|
||||
# MetaShare's dashboard embeds the same page through its own proxy.
|
||||
metatransportipfs:
|
||||
image: ghcr.io/yundera/appshield:2.0.9
|
||||
cpu_shares: 80
|
||||
container_name: metatransportipfs
|
||||
hostname: metatransportipfs
|
||||
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: "metashare-ipfs"
|
||||
BACKEND_PORT: "3000"
|
||||
LISTEN_PORT: "80"
|
||||
labels:
|
||||
caddy_0: metatransportipfs-${APP_DOMAIN}
|
||||
caddy_0.import: gateway_tls
|
||||
caddy_0.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy_1: metatransportipfs-${APP_PUBLIC_IP_DASH}.nip.io
|
||||
caddy_1.import: gateway_tls
|
||||
caddy_1.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy_2: metatransportipfs-${APP_PUBLIC_IP_DASH}.sslip.io
|
||||
caddy_2.reverse_proxy: "{{upstreams 80}}"
|
||||
depends_on:
|
||||
- metashare-ipfs
|
||||
networks:
|
||||
- metatransportipfs
|
||||
- pcs
|
||||
|
||||
networks:
|
||||
metatransportipfs:
|
||||
name: metatransportipfs
|
||||
driver: bridge
|
||||
pcs:
|
||||
name: ${APP_NET:-pcs}
|
||||
external: true
|
||||
@@ -104,9 +72,6 @@ x-casaos:
|
||||
category: Media
|
||||
tags: ["media", "needs-public-ip"]
|
||||
developer: Aptero Team
|
||||
main: metatransportipfs
|
||||
webui_port: 80
|
||||
index: /config
|
||||
|
||||
description:
|
||||
en_us: |
|
||||
@@ -161,8 +126,7 @@ x-casaos:
|
||||
driven by it. MetaShare picks it up automatically within ~10 s; check
|
||||
**MetaShare → Plugins**, where it shows as *live*.
|
||||
|
||||
Settings: **MetaShare → Plugins → ipfs → configure** (or this app's own
|
||||
tile). Saving restarts the plugin to apply.
|
||||
Settings: **MetaShare → Plugins → ipfs → configure**. Saving restarts the plugin to apply.
|
||||
|
||||
# Maison (Yundera dashboard) configuration. Read in preference to x-casaos.
|
||||
x-compose-app:
|
||||
@@ -171,6 +135,7 @@ x-compose-app:
|
||||
- path: /DATA/AppData/metatransportipfs/state
|
||||
user: $PUID
|
||||
group: $PGID
|
||||
# Same string as the caddy_0 label, so the tile link and the route agree.
|
||||
webui-host: metatransportipfs-${domain}
|
||||
webui-path: "/config"
|
||||
# An extension of MetaShare: no tile of its own, nested under MetaShare's,
|
||||
# and listed in the store under MetaShare's Extensions. Presentation only —
|
||||
# lifecycle and backups stay per-app.
|
||||
parent: metashare
|
||||
|
||||
Reference in New Issue
Block a user