Comments (12)
May be you'd like to start a WiKi page? I've enabled it.
from docker-ngrok.
I got the same error, i changed the command from the example to the below:
docker run --rm -d -p 4040 --link www:http --name www_ngrok wernight/ngrok ngrok http http:80
from docker-ngrok.
@bkuhl could you explain a little more on the following based on your solution?
env_file: .env
environment:
NGROK_PORT: web:80
from docker-ngrok.
NGROK_LOOK_DOMAIN should be what is used for this, but it doesn't work. Currently, using the workaround @bkuhl provided is working.
if [ -n "$NGROK_LOOK_DOMAIN" ]; then
ARGS="$ARGS `echo $NGROK_LOOK_DOMAIN:$NGROK_PORT | sed 's|^tcp://||'`"
else
ARGS="$ARGS `echo $NGROK_PORT | sed 's|^tcp://||'`"
fi
from docker-ngrok.
@madebylee Basically that's saying to read environment variables from .env
, but override what's in that file with what's specified in environment
.
from docker-ngrok.
@bkuhl , should we use .env here ? or is it ok not to have ?, if ever what's inside in the .env ?
Thank you in advance
ngrok:
image: wernight/ngrok
links:
- web:http
ports:
- "4040:4040"
env_file: .env
from docker-ngrok.
@ezekel You should be able to use the env_file
directive there just fine.
from docker-ngrok.
@bkuhl , I rebuild my docker , my question after I rebuild is there a command to run so that it will expose now to internet ?
from docker-ngrok.
@ezekel You should be able to use the
env_file
directive there just fine.
Ok I will rebuild again. thank you fro the quick reply
from docker-ngrok.
@bkuhl, I'm done rebuilding my docker, what command to run for ngrok ?
Thank you in advance
from docker-ngrok.
@bkuhl by the way is this will work in my local I used host in windows. then I access my app like this myapp.local, is this will work in ngrok too ?
from docker-ngrok.
@wernight , can I ask please what command I will run so that it will generate ngrok url
Thank you in advance
from docker-ngrok.
Related Issues (20)
- Periodically rebuild image HOT 3
- api/tunnels returns empty response when using auth HOT 1
- Does not support spaces in password
- I need help to expose NextCloudPi
- Add NGROK_LOOK_DOMAIN commit to dockerhub HOT 1
- Updating NGROK docker and other questions HOT 1
- Receive ngrok url HOT 5
- Request: image version tag
- authtoken is not respecting in container HOT 1
- Nginx is showing always after generating ngrok url
- Cannot link to webcontainer
- Update? HOT 1
- Inspect Option Support? HOT 1
- multiple ports HOT 1
- transfer maintainership to ngrok? HOT 3
- Add ARM64 (Apple Silicon) support HOT 2
- NGROK_AUTH not working HOT 4
- Add ARM64 (Apple Silicon) support HOT 1
- Ngrok
- ERROR: unknown shorthand flag: 'o' in -ostname=my-app.ngrok.io HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ngrok.