diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-16 15:20:16 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-16 15:20:16 +0200 |
commit | 227091dc8a49ae75c8c6cfc6de4a1d8f500231ea (patch) | |
tree | a9f9e753ac87300ef579cb14e70715b9f5867ee0 | |
parent | 9de4be582a6a4a9e7292d2c7994e53edae9e57c7 (diff) | |
download | nixcfg-227091dc8a49ae75c8c6cfc6de4a1d8f500231ea.tar.gz nixcfg-227091dc8a49ae75c8c6cfc6de4a1d8f500231ea.zip |
How to bind your consul and nomad on your machine
-rw-r--r-- | README.md | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -51,7 +51,28 @@ Run: ## 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 |