diff --git a/terranix/workadventure-jitsi-setup/README.md b/terranix/workadventure-jitsi-setup/README.md index 40dfe49..a519478 100644 --- a/terranix/workadventure-jitsi-setup/README.md +++ b/terranix/workadventure-jitsi-setup/README.md @@ -40,6 +40,16 @@ here (e.g. NixOps, Ansible, ... ) ## Steps -* `example-prepare`: to create ssh keys. -* `example-ssh`: to run terranix and terraform do create server. -* `example-cleanup`: to delete server, ssh keys and terraform data. (don't forget that step, or else it gets costly) +* `terraform-prepare`: to create ssh keys. +* `terraform-build`: to run terranix and terraform do create server. +* `terraform-destroy`: to delete server (don't forget that step, or else it gets costly) +* `terraform-cleanup`: to delete ssh keys and terraform data. + + +## DNS + +define domains with your nameserver and update `jitsi.nix` and `workadventure.nix`. + +* `meet.${domain}` to given ip4 address +* `party.${domain}` to given ip4 address +* `*.*party.${domain}` to given ip4 address diff --git a/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/configuration.nix b/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/configuration.nix index 285a697..a2a85eb 100644 --- a/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/configuration.nix +++ b/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/configuration.nix @@ -10,9 +10,6 @@ environment.systemPackages = [ pkgs.git pkgs.docker-compose pkgs.ag pkgs.htop ]; - virtualisation.docker.enable = true; - boot.kernel.sysctl."net.ipv4.ip_forward" = true; - networking.hostName = "host"; security.acme.email = "contact@ingolf-wagner.de"; diff --git a/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/jitsi.nix b/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/jitsi.nix index 981fc49..aaffea5 100644 --- a/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/jitsi.nix +++ b/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/jitsi.nix @@ -25,7 +25,7 @@ # This is a one server setup services.jitsi-meet = { enable = true; - hostName = "meet.palovandalo.com"; + hostName = "meet.ingolf-wagner.de"; # JItsi COnference FOcus is a server side focus component used in Jitsi Meet conferences. # https://github.com/jitsi/jicofo diff --git a/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/workadventure.nix b/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/workadventure.nix index 3c1eda5..dc6d640 100644 --- a/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/workadventure.nix +++ b/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/workadventure.nix @@ -11,9 +11,9 @@ let workadventureSecretKey = "YXNkZnNkZmxranNhZGxma2phc2RsZmtqYXNsa2Zkago="; - jitsiURL = "meet.palovandalo.com"; + jitsiURL = "meet.ingolf-wagner.de"; - domain = "workadventure.palovandalo.com"; + domain = "party.ingolf-wagner.de"; # domain will redirect to this map. (not play.${domain}) defaultMap = "git.ingolf-wagner.de/palo/world-home/raw/master/main.json"; @@ -36,6 +36,9 @@ let in { + virtualisation.docker.enable = true; + boot.kernel.sysctl."net.ipv4.ip_forward" = true; + networking.firewall = { allowedTCPPorts = [ 80 443 ]; allowedUDPPorts = [ 80 443 ];