added Consul Registration of personal services (for Adrien's personal stuff)

This commit is contained in:
Adrien 2023-03-15 18:55:09 +01:00
parent f7be968531
commit e4065dade8

View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF
{
"Datacenter": "prod",
"Node": "spoutnik",
"Address": "192.168.1.60",
"NodeMeta": { "somekey": "bidon" },
"Service": {
"Service": "adrien-nginx",
"Tags": ["tricot-https *.luxeylab.net"],
"Address": "192.168.1.60",
"Port": 443
}
}
EOF