forked from coop-cloud/traefik
Entrypoint for SSB MUXRPC
This commit is contained in:
parent
18d8805c99
commit
8d309bc7bf
|
@ -28,5 +28,9 @@ LOG_LEVEL=WARN
|
||||||
# COMPOSE_FILE="compose.yml:compose.peertube.yml"
|
# COMPOSE_FILE="compose.yml:compose.peertube.yml"
|
||||||
# PEERTUBE_RTMP_ENABLED=1
|
# PEERTUBE_RTMP_ENABLED=1
|
||||||
|
|
||||||
|
## Secure Scuttlebutt MUXRPC
|
||||||
|
# COMPOSE_FILE="compose.yml:compose.ssb.yml"
|
||||||
|
# SSB_MUXRPC_ENABLED=1
|
||||||
|
|
||||||
## Host-mode networking
|
## Host-mode networking
|
||||||
#COMPOSE_FILE="compose.yml:compose.host.yml"
|
#COMPOSE_FILE="compose.yml:compose.host.yml"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
environment:
|
||||||
|
- PEERTUBE_RTMP_ENABLED
|
||||||
ports:
|
ports:
|
||||||
- "1935:1935"
|
- "1935:1935"
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
environment:
|
||||||
|
- SSB_MUXRPC_ENABLED
|
||||||
|
ports:
|
||||||
|
- "8008:8008"
|
|
@ -40,6 +40,10 @@ entrypoints:
|
||||||
peertube-rtmp:
|
peertube-rtmp:
|
||||||
address: ":1935"
|
address: ":1935"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if eq (env "SSB_MUXRPC_ENABLED") "1" }}
|
||||||
|
ssb-muxrpc:
|
||||||
|
address: ":8008"
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
ping:
|
ping:
|
||||||
entryPoint: web
|
entryPoint: web
|
||||||
|
|
Loading…
Reference in New Issue