Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adde gateway URL to terraform provisioned list #91

Open
4 tasks
darkdrgn2k opened this issue Aug 18, 2019 · 0 comments
Open
4 tasks

Adde gateway URL to terraform provisioned list #91

darkdrgn2k opened this issue Aug 18, 2019 · 0 comments

Comments

@darkdrgn2k
Copy link
Contributor

darkdrgn2k commented Aug 18, 2019

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 [email protected],
    ipfs-mirror-N: ssh -i .keys/id_rsa [email protected]
]

  • null_resources
  + null_resource.ipfs-mirror
      id:                   <computed>

  + null_resource.rtmp-server
      id:                   <computed>

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


  • Null resource when installing (should be ipfs mirror i think)
null_resource.rtmp-server: Provisioning with 'remote-exec'...
null_resource.rtmp-server (remote-exec): Connecting to remote host via SSH...
null_resource.rtmp-server (remote-exec):   Host: 68.183.194.72
null_resource.rtmp-server (remote-exec):   User: root
null_resource.rtmp-server (remote-exec):   Password: false
null_resource.rtmp-server (remote-exec):   Private key: true
null_resource.rtmp-server (remote-exec):   SSH Agent: true
null_resource.rtmp-server (remote-exec):   Checking Host Key: false
digitalocean_record.ipfs-server-v6: Creation complete after 1s (ID: 77647234)
null_resource.rtmp-server (remote-exec): Connected!
digitalocean_record.ipfs-server-gateway-private: Creation complete after 0s (ID: 77647235)
null_resource.rtmp-server (remote-exec): Generating DH parameters, 2048 bit long safe prime, generator 2
null_resource.rtmp-server (remote-exec): This is going to take a long time
digitalocean_droplet.ipfs-mirror: Still creating... (10s elapsed)
null_resource.rtmp-server: Still creating... (10s elapsed)
digitalocean_droplet.ipfs-mirror: Still creating... (20s elapsed)
null_resource.rtmp-server: Still creating... (20s elapsed)
digitalocean_droplet.ipfs-mirror: Still creating... (30s elapsed)
null_resource.rtmp-server: Still creating... (30s elapsed)
null_resource.rtmp-server (remote-exec): 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants