Set thingvellir as consul server
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
{
|
{
|
||||||
"datacenter": "samfelag",
|
"datacenter": "samfelag",
|
||||||
"data_dir": "/opt/consul",
|
|
||||||
|
|
||||||
"bind_addr": "{{ GetInterfaceIP \"tailscale0\" }}",
|
"bind_addr": "{{ GetInterfaceIP \"tailscale0\" }}",
|
||||||
"advertise_addr": "{{ GetInterfaceIP \"tailscale0\" }}",
|
"advertise_addr": "{{ GetInterfaceIP \"tailscale0\" }}",
|
||||||
"client_addr": "{{ GetInterfaceIP \"tailscale0\" }}",
|
"client_addr": "{{ GetInterfaceIP \"tailscale0\" }} 127.0.0.1",
|
||||||
|
|
||||||
"ports": {
|
"ports": {
|
||||||
"grpc_tls": 8502
|
"grpc_tls": 8502
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"retry_join": [
|
"retry_join": [
|
||||||
"100.80.195.56"
|
"100.99.167.21"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ with lib;
|
|||||||
};
|
};
|
||||||
server.nomad = {
|
server.nomad = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
server = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# - Editors and development ------------------
|
# - Editors and development ------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user