aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-10-16 15:20:16 +0200
committerGitea <gitea@fake.local>2022-10-16 14:17:12 +0000
commit554c20cc0408e581b1b23e484609b172030c8259 (patch)
treea9f9e753ac87300ef579cb14e70715b9f5867ee0 /README.md
parente6f118adb0b6b0fcb20a2a3cfa74dee81082ed49 (diff)
downloadnixcfg-554c20cc0408e581b1b23e484609b172030c8259.tar.gz
nixcfg-554c20cc0408e581b1b23e484609b172030c8259.zip
How to bind your consul and nomad on your machine
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 22 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7220fa4..e6914ee 100644
--- a/README.md
+++ b/README.md
@@ -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