Sign inSign up

aheadworks/ngrok

By aheadworks

Updated about 3 years ago

ngrok docker image with config template

Image
0

4.1K

aheadworks/ngrok repository overview

docker-ngrok

Image to run ngrok agent with config file

Usage

This image can be run inside the Shopify project. To run you need to pass the following environment variables:

NGROK_AUTHTOKEN=your-token
NGROK_ADDRESS=local-adsress-and-port
NGROK_SUBDOMAIN=your-subdomain
Running as standalone container
$ docker run -e NGROK_AUTHTOKEN=token -e NGROK_ADDRESS=localhost:80 -e NGROK_SUBDOMAIN=aw-test aheadworks/ngrok:1.0
Running in docker-compose
version: "3.4"

services:

  web:
      image: nginx
      volumes:
        - ./templates:/etc/nginx/templates
      ports:
        - "8080:80"
      environment:
        - NGINX_HOST=foobar.com
        - NGINX_PORT=80

  ngrok:
    image: aheadworks/ngrok 
    restart: "unless-stopped"
    environment:
      NGROK_AUTHTOKEN: token
      NGROK_ADDRESS: localhost:80
      NGROK_SUBDOMAIN_MAIN: aw-test
    volumes:
      - ./ngrok.yml:/etc/ngrok/ngrok.template.yml:ro
    depends_on:
      - web

Tag summary

Content type

Image

Digest

sha256:a31d278c0

Size

57.1 MB

Last updated

about 3 years ago

docker pull aheadworks/ngrok