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

Nginx is showing always after generating ngrok url #58

Open
ezekel opened this issue Jan 14, 2021 · 0 comments
Open

Nginx is showing always after generating ngrok url #58

ezekel opened this issue Jan 14, 2021 · 0 comments

Comments

@ezekel
Copy link

ezekel commented Jan 14, 2021

Hi need some help please, after I added the image of wernight/ngrok, I rebuild my docker, when it goes up

I run this

docker run --rm -it --network myapp_default --link webcontainer wernight/ngrok ngrok http webcontainer:80

but when it generates the link of ngrok

when I click on it will display nginx index page it says successfully installed nginx.

normally when I run my app, I use myapp.local because I used windows hostfile

please help

Thank you in advance


version: "3.8"
services:

  web:
    image: nginx:stable
    container_name: webcontainer
    ports:
      - "80:80"
    volumes:
      - ./:/var/www/myapp
    expose:
      - 9000
    external_links:
      - php
      - db
  ngrok:
    image: wernight/ngrok
    links:
      - web
    ports:
      - "4040:4040"
    env_file: .env
    environment:
      NGROK_PORT: web:80

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

1 participant