Skip to content

Commit

Permalink
Adjust readme for environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiranda committed Nov 26, 2021
1 parent b065ce0 commit baeaefc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,21 @@ Example:
```ini
[my-profile1]
host = https://kubernetes.foo.bar.com
port = 1234
env = HTTPS_PROXY=127.0.0.1:1234
# env = OTHER=value

[my-profile2]
host = sql.foo.bar.com
port = 1234
# port is not necessary
```

Defining a port is not required, if you don't specify, *cfdtunnel* will launch the tunnel using the ~~most random~~ port **5555**

#### Environment Variables

In case your application demands specific environment variables, *cfdtunnel* will make sure it is created prior to its execution. You just need to define it on config file as well.

## Contributing
Contributions, issues, and feature requests are welcome!

Expand Down
4 changes: 3 additions & 1 deletion config.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

[my-profile1]
host = https://kubernetes.foo.bar.com
port = 1234
env = HTTPS_PROXY=127.0.0.1:1234
env = RANDOM=value

[my-profile2]
host = sql.foo.bar.com
port = 1234

0 comments on commit baeaefc

Please sign in to comment.