65 lines
1.5 KiB
Bash
Executable file
65 lines
1.5 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Bruxelles (bespin): git forge at git.deuxfleurs.fr
|
|
|
|
curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF
|
|
{
|
|
"Datacenter": "prod",
|
|
"Node": "gitea",
|
|
"Address": "192.168.5.200",
|
|
"NodeMeta": {
|
|
"site": "bespin",
|
|
"cname_target": "bespin.site.deuxfleurs.fr."
|
|
},
|
|
"Service": {
|
|
"Service": "gitea",
|
|
"Tags": ["tricot git.deuxfleurs.fr"],
|
|
"Address": "192.168.5.200",
|
|
"Port": 3001
|
|
}
|
|
}
|
|
EOF
|
|
|
|
# Lille (scorpio): ADRN's personnal services under luxeylab.net
|
|
|
|
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.51",
|
|
"NodeMeta": {
|
|
"site": "scorpio",
|
|
"cname_target": "scorpio.site.deuxfleurs.fr."
|
|
},
|
|
"Service": {
|
|
"Service": "adrien-nginx",
|
|
"Tags": [
|
|
"tricot-https *.luxeylab.net",
|
|
"tricot-https *.zinz.dev"
|
|
],
|
|
"Address": "192.168.1.51",
|
|
"Port": 443
|
|
}
|
|
}
|
|
EOF
|
|
|
|
# Orsay (neptune): Alex's personnal stuff
|
|
|
|
|
|
curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF
|
|
{
|
|
"Datacenter": "prod",
|
|
"Node": "pivert",
|
|
"Address": "192.168.1.189",
|
|
"NodeMeta": {
|
|
"site": "neptune",
|
|
"cname_target": "neptune.site.deuxfleurs.fr."
|
|
},
|
|
"Service": {
|
|
"Service": "garage.isomorphis.me",
|
|
"Tags": ["tricot garage.isomorphis.me"],
|
|
"Address": "192.168.1.189",
|
|
"Port": 3900
|
|
}
|
|
}
|
|
EOF
|