Updates and deploy

This commit is contained in:
albert 2024-07-16 20:10:54 +09:00
parent 571c8b3645
commit 4f7c76a219
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 15 additions and 16 deletions

View file

@ -107,7 +107,7 @@
# Servers # Servers
framework-server = libx.deploy { hostname = "framework-server"; }; framework-server = libx.deploy { hostname = "framework-server"; };
# warsaw-ovh-01 = libx.deploy { hostname = "warsaw-ovh-01"; }; warsaw-ovh-01 = libx.deploy { hostname = "warsaw-ovh-01"; };
# nuc-server = libx.deploy { hostname = "nuc-server"; }; # nuc-server = libx.deploy { hostname = "nuc-server"; };
# Raspberry Pi's # Raspberry Pi's

View file

@ -26,7 +26,6 @@
ips = [ "10.100.0.2/24" ]; ips = [ "10.100.0.2/24" ];
listenPort = 51820; listenPort = 51820;
privateKeyFile = "/run/secrets/wireguard_key"; privateKeyFile = "/run/secrets/wireguard_key";
# Testing
peers = [ peers = [
{ # osaka-linode-01 { # osaka-linode-01
publicKey = "yPZ3EmmIqCkReXf1DRTxzVaKQ2k+ifGmYJHji5nnMmE="; publicKey = "yPZ3EmmIqCkReXf1DRTxzVaKQ2k+ifGmYJHji5nnMmE=";
@ -35,13 +34,13 @@
allowedIPs = [ "10.100.0.1/32" ]; allowedIPs = [ "10.100.0.1/32" ];
endpoint = "172.234.84.222:51820"; # osaka-linode-01 endpoint = "172.234.84.222:51820"; # osaka-linode-01
} }
{ # frankfurt-linode-01 # { # frankfurt-linode-01
publicKey = "9FCIy07RvR2dz8bbPUB9h2jdhFQHfDh0VdLf06n46QQ="; # publicKey = "9FCIy07RvR2dz8bbPUB9h2jdhFQHfDh0VdLf06n46QQ=";
presharedKeyFile = "/run/secrets/preshared_key"; # presharedKeyFile = "/run/secrets/preshared_key";
persistentKeepalive = 5; # persistentKeepalive = 5;
allowedIPs = [ "10.100.0.4/32" ]; # allowedIPs = [ "10.100.0.4/32" ];
endpoint = "172.105.76.221:51820"; # frankfurt-linode-01 # endpoint = "172.105.76.221:51820"; # frankfurt-linode-01
} # }
]; ];
}; };
}; };

View file

@ -28,13 +28,13 @@
privateKeyFile = "/run/secrets/wireguard_key"; privateKeyFile = "/run/secrets/wireguard_key";
# Testing # Testing
peers = [ peers = [
{ # osaka-linode-01 # { # osaka-linode-01
publicKey = "yPZ3EmmIqCkReXf1DRTxzVaKQ2k+ifGmYJHji5nnMmE="; # publicKey = "yPZ3EmmIqCkReXf1DRTxzVaKQ2k+ifGmYJHji5nnMmE=";
presharedKeyFile = "/run/secrets/preshared_key"; # presharedKeyFile = "/run/secrets/preshared_key";
persistentKeepalive = 5; # persistentKeepalive = 5;
allowedIPs = [ "10.100.0.1/32" ]; # allowedIPs = [ "10.100.0.1/32" ];
endpoint = "172.234.84.222:51820"; # osaka-linode-01 # endpoint = "172.234.84.222:51820"; # osaka-linode-01
} # }
{ # frankfurt-linode-01 { # frankfurt-linode-01
publicKey = "9FCIy07RvR2dz8bbPUB9h2jdhFQHfDh0VdLf06n46QQ="; publicKey = "9FCIy07RvR2dz8bbPUB9h2jdhFQHfDh0VdLf06n46QQ=";
presharedKeyFile = "/run/secrets/preshared_key"; presharedKeyFile = "/run/secrets/preshared_key";