Skip to content

Nginx is showing always after generating ngrok url #58

@ezekel

Description

@ezekel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions