From 265fc554840455c87b7e46a2f42bcb51e22318c1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 18 Oct 2026 08:31:40 -0700 Subject: live: /live/turn — ICE servers for the app's calls (Cloudflare TURN credentials good for 4 h, to a NIP-98-signed ask; 30 an hour per key, 60 per IP; STUN alone if TURN can't be had). The key comes from $STATE/live/config.json. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013ZDf1cyCQLkfjftYhymZAg --- compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compose.yml') diff --git a/compose.yml b/compose.yml index d48ab2f..3cdf4a3 100644 --- a/compose.yml +++ b/compose.yml @@ -5,7 +5,7 @@ # $STATE/names/config.json $STATE/names/data/ (names.db) # $STATE/nwcpush/config.json $STATE/nwcpush/data/ # $STATE/blossom/data/ -# $STATE/live/data/ (streams and their recordings) +# $STATE/live/config.json $STATE/live/data/ (TURN key; streams and their recordings) services: names: image: oven/bun:1.3.14 @@ -70,9 +70,11 @@ services: LIVE_PORT: "8795" LIVE_BASE: https://v3.coinos.io/live NAMES_URL: http://names:8798 + LIVE_CONFIG: /etc/coinosv3/config.json volumes: - .:/app:ro - ${STATE}/live/data:/data + - ${STATE}/live/config.json:/etc/coinosv3/config.json:ro cpus: 4 mem_limit: 2g networks: [net] -- cgit v1.2.3