diff options
Diffstat (limited to 'compose.yml')
| -rw-r--r-- | compose.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/compose.yml b/compose.yml index df0d2d1..d48ab2f 100644 --- a/compose.yml +++ b/compose.yml @@ -5,6 +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) services: names: image: oven/bun:1.3.14 @@ -57,6 +58,26 @@ services: networks: [net] restart: unless-stopped + # live streams sent from the app (live/server.js). ffmpeg comes with the + # vmedia image (vmedia/Dockerfile: `docker build -t vmedia vmedia/` on the host). + live: + image: vmedia + container_name: live + working_dir: /app + command: bun live/server.js + environment: + LIVE_DATA: /data + LIVE_PORT: "8795" + LIVE_BASE: https://v3.coinos.io/live + NAMES_URL: http://names:8798 + volumes: + - .:/app:ro + - ${STATE}/live/data:/data + cpus: 4 + mem_limit: 2g + networks: [net] + restart: unless-stopped + networks: net: external: true |
