added Consul Registration of personal services (for Adrien's personal stuff)
This commit is contained in:
parent
f7be968531
commit
e4065dade8
1 changed files with 17 additions and 0 deletions
17
cluster/prod/register_personal_services.sh
Normal file
17
cluster/prod/register_personal_services.sh
Normal 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
|
Loading…
Reference in a new issue