|
|
@ -29,6 +29,10 @@
|
|
|
|
backfiller: 8002,
|
|
|
|
backfiller: 8002,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// The local port within each container to bind the backdoor server on.
|
|
|
|
|
|
|
|
// You can exec into the container and telnet to this port to get a python shell.
|
|
|
|
|
|
|
|
backdoor_port:: 1234,
|
|
|
|
|
|
|
|
|
|
|
|
// Other nodes to backfill from. You should not include the local node.
|
|
|
|
// Other nodes to backfill from. You should not include the local node.
|
|
|
|
peers:: [
|
|
|
|
peers:: [
|
|
|
|
"http://wubloader.codegunner.com/"
|
|
|
|
"http://wubloader.codegunner.com/"
|
|
|
@ -47,6 +51,7 @@
|
|
|
|
command: [
|
|
|
|
command: [
|
|
|
|
$.channel,
|
|
|
|
$.channel,
|
|
|
|
"--qualities", std.join(",", $.qualities),
|
|
|
|
"--qualities", std.join(",", $.qualities),
|
|
|
|
|
|
|
|
"--backdoor-port", std.toString($.backdoor_port),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
// Mount the segments directory at /mnt
|
|
|
|
// Mount the segments directory at /mnt
|
|
|
|
volumes: ["%s:/mnt" % $.segments_path],
|
|
|
|
volumes: ["%s:/mnt" % $.segments_path],
|
|
|
@ -66,6 +71,9 @@
|
|
|
|
// Expose on the configured host port by mapping that port to the default
|
|
|
|
// Expose on the configured host port by mapping that port to the default
|
|
|
|
// port for restreamer, which is 8000.
|
|
|
|
// port for restreamer, which is 8000.
|
|
|
|
ports: ["%s:8000" % $.ports.restreamer],
|
|
|
|
ports: ["%s:8000" % $.ports.restreamer],
|
|
|
|
|
|
|
|
command: [
|
|
|
|
|
|
|
|
"--backdoor-port", std.toString($.backdoor_port),
|
|
|
|
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
backfiller: {
|
|
|
|
backfiller: {
|
|
|
@ -75,6 +83,7 @@
|
|
|
|
"--stream", $.channel,
|
|
|
|
"--stream", $.channel,
|
|
|
|
"-v", std.join(",", $.qualities),
|
|
|
|
"-v", std.join(",", $.qualities),
|
|
|
|
"--nodes", std.join(",", $.peers),
|
|
|
|
"--nodes", std.join(",", $.peers),
|
|
|
|
|
|
|
|
"--backdoor-port", std.toString($.backdoor_port),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
// Mount the segments directory at /mnt
|
|
|
|
// Mount the segments directory at /mnt
|
|
|
|
volumes: ["%s:/mnt" % $.segments_path],
|
|
|
|
volumes: ["%s:/mnt" % $.segments_path],
|
|
|
|