Browse Source

Entrypoint for SSB MUXRPC

pull/25/head
3wc 2 months ago
parent
commit
8d309bc7bf
  1. 4
      .env.sample
  2. 2
      compose.peertube.yml
  3. 7
      compose.ssb.yml
  4. 4
      traefik.yml.tmpl

4
.env.sample

@ -28,5 +28,9 @@ LOG_LEVEL=WARN
# COMPOSE_FILE="compose.yml:compose.peertube.yml"
# PEERTUBE_RTMP_ENABLED=1
## Secure Scuttlebutt MUXRPC
# COMPOSE_FILE="compose.yml:compose.ssb.yml"
# SSB_MUXRPC_ENABLED=1
## Host-mode networking
#COMPOSE_FILE="compose.yml:compose.host.yml"

2
compose.peertube.yml

@ -1,5 +1,7 @@
version: "3.8"
services:
app:
environment:
- PEERTUBE_RTMP_ENABLED
ports:
- "1935:1935"

7
compose.ssb.yml

@ -0,0 +1,7 @@
version: "3.8"
services:
app:
environment:
- SSB_MUXRPC_ENABLED
ports:
- "8008:8008"

4
traefik.yml.tmpl

@ -40,6 +40,10 @@ entrypoints:
peertube-rtmp:
address: ":1935"
{{ end }}
{{ if eq (env "SSB_MUXRPC_ENABLED") "1" }}
ssb-muxrpc:
address: ":8008"
{{ end }}
ping:
entryPoint: web

Loading…
Cancel
Save