📚 Make clear that tunnel is only for testing&development #13

This commit is contained in:
Jan Oberhauser
2019-08-22 16:45:00 +02:00
parent 9e390a3995
commit 45721c20ca
3 changed files with 7 additions and 3 deletions

View File

@@ -47,9 +47,11 @@ You can then access n8n by opening:
## Start with tunnel ## Start with tunnel
> **WARNING**: This is only meant for local development and testing. Should not be used in production!
To be able to use webhooks which all triggers of external services like Github To be able to use webhooks which all triggers of external services like Github
rely on n8n has to be reachable from the web. To make that easy n8n has a rely on n8n has to be reachable from the web. To make that easy n8n has a
special tunnel service which redirects requests from our servers to your local special tunnel service (uses this code: [https://github.com/localtunnel/localtunnel](https://github.com/localtunnel/localtunnel)) which redirects requests from our servers to your local
n8n instance. n8n instance.
To use it simply start n8n with `--tunnel` To use it simply start n8n with `--tunnel`

View File

@@ -70,9 +70,11 @@ n8n start
### Start with tunnel ### Start with tunnel
> **WARNING**: This is only meant for local development and testing. Should not be used in production!
To be able to use webhooks which all triggers of external services like Github To be able to use webhooks which all triggers of external services like Github
rely on n8n has to be reachable from the web. To make that easy n8n has a rely on n8n has to be reachable from the web. To make that easy n8n has a
special tunnel service which redirects requests from our servers to your local special tunnel service (uses this code: [https://github.com/localtunnel/localtunnel](https://github.com/localtunnel/localtunnel)) which redirects requests from our servers to your local
n8n instance. n8n instance.
To use it simply start n8n with `--tunnel` To use it simply start n8n with `--tunnel`

View File

@@ -47,7 +47,7 @@ module.exports = (vorpal: Vorpal) => {
.option('-o --open', .option('-o --open',
'Opens the UI automatically in browser') 'Opens the UI automatically in browser')
.option('--tunnel', .option('--tunnel',
'Runs the webhooks via a hooks.n8n.cloud tunnel server') 'Runs the webhooks via a hooks.n8n.cloud tunnel server (use only for testing and development)')
.option('\n') .option('\n')
// TODO: Add validation // TODO: Add validation
// .validate((args: Args) => { // .validate((args: Args) => {