tomeshnet / ipfs-live-streaming

Like HTTP live streaming, but with IPFS which is maybe better?
GNU General Public License v3.0
446 stars 76 forks source link

Adde gateway URL to terraform provisioned list #91

Open darkdrgn2k opened 4 years ago

darkdrgn2k commented 4 years ago

We need to print the URL of this gateway in terraform provision complete

Current:

Apply complete! Resources: 22 added, 0 changed, 0 destroyed.

Outputs:

digital_ocean_droplets = [
    rtmp-server:             active,
    ipfs-mirror instance(s): 1,
    active
]
dns_records = [
                      stream.e-mesh.net = 68.183.194.72,
          rtmp-server.stream.e-mesh.net = 68.183.194.72,
    {
        ipfs-mirror-0.stream.e-mesh.net = 165.22.232.129
    },
    {
        ipfs-gateway-0.stream.e-mesh.net = 165.22.232.129
    },
          private.rtmp-server.stream.e-mesh.net = 10.137.95.182,
          private.rtmp-server.stream.e-mesh.net = 10.137.95.182,
    {
        private.ipfs-mirror-0.stream.e-mesh.net = 10.137.159.131
    },
    {
        private.ipfs-gateway-0.stream.e-mesh.net = 10.137.159.131
    },
          v6.rtmp-server.stream.e-mesh.net = 2604:a880:cad:d0::685d:1,
    {
        v6.ipfs-mirror-0.stream.e-mesh.net = 2604:a880:cad:d0::6873:b001
    },
    {
        v6.ipfs-gateway-0.stream.e-mesh.net = 2604:a880:cad:d0::6873:b001
    },
         openvpn.publish.stream.e-mesh.net = 10.10.10.1,
       yggdrasil.publish.stream.e-mesh.net = 200:6e59:7ba8:453d:11aa:a152:bc37:d9eb
]
private_urls = [
    RTMP publish (.keys/client.conf):    rtmp://10.10.10.1:1935/live,
    RTMP publish (.keys/yggdrasil.conf): rtmp://[200:6e59:7ba8:453d:11aa:a152:bc37:d9eb]:1935/live
]
public_urls = [
    RTMP stream:                rtmp://rtmp-server.stream.e-mesh.net/live,
    HLS stream (origin):        https://stream.e-mesh.net/live.m3u8,
    HLS stream (mirror-N):      https://ipfs-mirror-N.stream.e-mesh.net/live.m3u8,
    IPNS HLS stream (origin):   https://ipfs-gateway.stream.e-mesh.net/ipns/QmV71DGDgzEchEUYYJfCSKftKHzzdr5t6q6SqseLupu8Qo,
    IPNS HLS stream (mirror-N): https://ipfs-gateway-N.stream.e-mesh.net/ipns/QmV71DGDgzEchEUYYJfCSKftKHzzdr5t6q6SqseLupu8Qo,
    Video player (origin):      https://stream.e-mesh.net,
    Video player (mirror-N):    https://ipfs-mirror-N.stream.e-mesh.net,
    Video player (debug):       https://stream.e-mesh.net?live=live.m3u8
]
ssh_access = [
    rtmp-server:   ssh -i .keys/id_rsa root@rtmp-server.stream.e-mesh.net,
    ipfs-mirror-N: ssh -i .keys/id_rsa root@ipfs-mirror-N.stream.e-mesh.net
]


possibly " ${digitalocean_record.ipfs-server-gateway.fqdn} = ${digitalocean_record.rtmp-server.value}",