proper setup
This commit is contained in:
parent
419d87e03b
commit
baf77cd607
4 changed files with 19 additions and 9 deletions
|
@ -40,6 +40,16 @@ here (e.g. NixOps, Ansible, ... )
|
||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
|
|
||||||
* `example-prepare`: to create ssh keys.
|
* `terraform-prepare`: to create ssh keys.
|
||||||
* `example-ssh`: to run terranix and terraform do create server.
|
* `terraform-build`: 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-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
|
||||||
|
|
|
@ -10,9 +10,6 @@
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ pkgs.git pkgs.docker-compose pkgs.ag pkgs.htop ];
|
[ pkgs.git pkgs.docker-compose pkgs.ag pkgs.htop ];
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
|
|
||||||
|
|
||||||
networking.hostName = "host";
|
networking.hostName = "host";
|
||||||
|
|
||||||
security.acme.email = "contact@ingolf-wagner.de";
|
security.acme.email = "contact@ingolf-wagner.de";
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
# This is a one server setup
|
# This is a one server setup
|
||||||
services.jitsi-meet = {
|
services.jitsi-meet = {
|
||||||
enable = true;
|
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.
|
# JItsi COnference FOcus is a server side focus component used in Jitsi Meet conferences.
|
||||||
# https://github.com/jitsi/jicofo
|
# https://github.com/jitsi/jicofo
|
||||||
|
|
|
@ -11,9 +11,9 @@ let
|
||||||
|
|
||||||
workadventureSecretKey = "YXNkZnNkZmxranNhZGxma2phc2RsZmtqYXNsa2Zkago=";
|
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})
|
# domain will redirect to this map. (not play.${domain})
|
||||||
defaultMap = "git.ingolf-wagner.de/palo/world-home/raw/master/main.json";
|
defaultMap = "git.ingolf-wagner.de/palo/world-home/raw/master/main.json";
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@ let
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 80 443 ];
|
allowedTCPPorts = [ 80 443 ];
|
||||||
allowedUDPPorts = [ 80 443 ];
|
allowedUDPPorts = [ 80 443 ];
|
||||||
|
|
Loading…
Reference in a new issue