forked from Deuxfleurs/nixcfg
How to bind your consul and nomad on your machine
This commit is contained in:
parent
e6f118adb0
commit
554c20cc04
1 changed files with 22 additions and 1 deletions
23
README.md
23
README.md
|
@ -51,7 +51,28 @@ Run:
|
||||||
|
|
||||||
## How to operate a node
|
## How to operate a node
|
||||||
|
|
||||||
*To be written*
|
Edit your `~/.ssh/config` file:
|
||||||
|
|
||||||
|
```
|
||||||
|
Host dahlia
|
||||||
|
HostName dahlia.machine.deuxfleurs.fr
|
||||||
|
LocalForward 14646 127.0.0.1:4646
|
||||||
|
LocalForward 8501 127.0.0.1:8501
|
||||||
|
LocalForward 1389 bottin.service.prod.consul:389
|
||||||
|
LocalForward 5432 psql-proxy.service.prod.consul:5432
|
||||||
|
```
|
||||||
|
|
||||||
|
And then run the TLS proxy:
|
||||||
|
|
||||||
|
```
|
||||||
|
./tlsproxy prod
|
||||||
|
```
|
||||||
|
|
||||||
|
And then open in your browser:
|
||||||
|
|
||||||
|
- http://localhost:8500
|
||||||
|
- http://localhost:4646
|
||||||
|
|
||||||
|
|
||||||
## More
|
## More
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue