aboutsummaryrefslogtreecommitdiffstats
path: root/compose.yml
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-18 08:31:40 -0700
committerAdam Soltys <[email protected]>2026-10-18 08:31:40 -0700
commit265fc554840455c87b7e46a2f42bcb51e22318c1 (patch)
tree7054001d62663cef1acdeaec797f5379daf78e4a /compose.yml
parent64826cb02e77dace0c4121d7c2a9d2d1c5163092 (diff)
downloadcoinosv3-server-265fc554840455c87b7e46a2f42bcb51e22318c1.tar.gz
coinosv3-server-265fc554840455c87b7e46a2f42bcb51e22318c1.zip
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.
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013ZDf1cyCQLkfjftYhymZAg
Diffstat (limited to 'compose.yml')
-rw-r--r--compose.yml4
1 files changed, 3 insertions, 1 deletions
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]