Coder Social home page Coder Social logo

docker-ngrok's Issues

Fails if link is defined in compose.yml

else
echo "Must be run with a link aliased to http or https, an environmental variable (HTTP_PORT), or passed as a command."
echo "=> Example: docker run --link app:http fnichol/ngrok"
echo "=> Example: docker run -e HTTP_PORT 8080 fnichol/ngrok"
echo "=> Example: docker run fnichol/ngrok 80"
exit 1

version: "3.7"
services:

  listener:
    image: listener
    build:
      context: ./listener
    ports:
      - "5000:80"
    volumes:
      - "/Users/asanchez122/Projects/webhook-listener/data:/app/data"

  tunnel:
    image: fnichol/ngrok
    ports:
      - "3270:4040"
    links:
      - "listener:http"

Adding this to compose.yml fixed the issue:

    environment:
      HTTP_PORT: 4040

ngrok not work

share_1  | [07/05/16 17:55:38] [INFO] Reading configuration file /.ngrok
share_1  | [07/05/16 17:55:38] [INFO] [client] Trusting root CAs: [assets/client/tls/ngrokroot.crt]
share_1  | [07/05/16 17:55:38] [INFO] [view] [web] Serving web interface on 0.0.0.0:4040
share_1  | [07/05/16 17:55:38] [INFO] Checking for update
share_1  | [07/05/16 17:55:38] [EROR] control recovering from failure dial tcp: lookup ngrokd.ngrok.com: no such host
share_1  | [07/05/16 17:55:38] [INFO] Waiting 1 seconds before reconnecting
share_1  | [07/05/16 17:55:39] [EROR] Error while checking for update: Post https://api.equinox.io/1/Updates: x509: failed to load system roots and no roots provided
share_1  | [07/05/16 17:55:44] [EROR] control recovering from failure dial tcp: lookup ngrokd.ngrok.com: no such host
share_1  | [07/05/16 17:55:44] [INFO] Waiting 2 seconds before reconnecting
share_1  | [07/05/16 17:55:46] [EROR] control recovering from failure dial tcp: lookup ngrokd.ngrok.com: no such host
share_1  | [07/05/16 17:55:46] [INFO] Waiting 4 seconds before reconnecting
share_1  | [07/05/16 17:55:50] [EROR] control recovering from failure dial tcp: lookup ngrokd.ngrok.com: no such host
share_1  | [07/05/16 17:55:50] [INFO] Waiting 8 seconds before reconnecting
share_1  | [07/05/16 17:55:58] [EROR] control recovering from failure dial tcp: lookup ngrokd.ngrok.com: no such host
share_1  | [07/05/16 17:55:58] [INFO] Waiting 16 seconds before reconnecting

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.