From c3701da258f6a8dc644cb0f12f4f8d9ac77b4d59 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 26 May 2023 07:10:47 +0200 Subject: [PATCH] add htz-cloud.afra --- nodes/htz-cloud.afra.toml | 86 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 nodes/htz-cloud.afra.toml diff --git a/nodes/htz-cloud.afra.toml b/nodes/htz-cloud.afra.toml new file mode 100644 index 0000000..5345ebb --- /dev/null +++ b/nodes/htz-cloud.afra.toml @@ -0,0 +1,86 @@ +hostname = "91.107.203.234" +bundles = [ + "element-web", + "matrix-media-repo", + "matrix-registration", + "matrix-synapse", + "nodejs", + "postgresql", + "zfs", +] +groups = [ + "debian-bullseye", + "webserver", +] + +[metadata.icinga_options] +pretty_name = "afra.berlin" + +[metadata.interfaces.eth0] +ips = [ + "91.107.203.234/32", + "2a01:4f8:c010:b0e1::1/64", +] +gateway4 = '172.31.1.1' +gateway6 = 'fe80::1' + +[metadata.interfaces.ens10] +ips = [ + "172.19.137.7/32", +] +routes.'172.19.136.0/22'.via = "172.19.137.1" + +[metadata.element-web] +url = "element.afra.berlin" +version = "v1.11.31" + +[metadata.element-web.config] +default_server_config.'m.homeserver'.base_url = "https://matrix.afra.berlin" +default_server_config.'m.homeserver'.server_name = "afra.berlin" +brand = "afra.berlin" +defaultCountryCode = "DE" +jitsi.preferredDomain = "meet.ffmuc.net" + +[metadata.matrix-media-repo] +version = "v1.2.13" +sha1 = "0915bdf7c461368859180419d1f66717969cbe32" +admins = ['@administress:afra.berlin'] +upload_max_mb = 50 + +[metadata.matrix-media-repo.homeservers.'afra.berlin'] +domain = "http://[::1]:20080/" +api = "synapse" + +[metadata.matrix-registration] +base_path = "/matrix" +client_redirect = "https://element.afra.berlin" + +[metadata.matrix-synapse] +server_name = "afra.berlin" +baseurl = "matrix.afra.berlin" +admin_contact = 'mailto:hostmaster@kunbox.net' +trusted_key_servers = [ + "matrix.org", + "franzi.business", +] +wellknown_also_on_vhosts = ["redirect"] + +[metadata.nginx.vhosts.redirect] +domain = "afra.berlin" + +[metadata.nginx.vhosts.redirect.locations.'/'] +redirect = "https://afra-berlin.de" +mode = 302 + +[metadata.nginx.vhosts.redirect.locations.'/matrix/'] +target = "http://127.0.0.1:20100/" + +[metadata.postgresql] +version = "15" + +[[metadata.zfs.pools.tank.when_creating.config]] +devices = ["/dev/disk/by-id/scsi-0HC_Volume_32207877"] + +[metadata.vm] +cpu = 2 +ram = 4