aboutsummaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-12-13 20:53:47 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-12-13 20:53:47 -0500
commit3ede224d7b3bc95f45c73a73375c0ad1b911fa1c (patch)
tree46449cacb98567e50eebb8e5116f92692a4ab382 /vars
parent929c8df080f9466bf14007e8eee053dbc2ba0ac3 (diff)
downloadinfrastructure-3ede224d7b3bc95f45c73a73375c0ad1b911fa1c.tar.gz
add matrix hostclass
Diffstat (limited to 'vars')
-rw-r--r--vars/hostclass/matrix_server7
-rw-r--r--vars/hostclass/xmpp_server1
2 files changed, 7 insertions, 1 deletions
diff --git a/vars/hostclass/matrix_server b/vars/hostclass/matrix_server
new file mode 100644
index 0000000..08ee685
--- /dev/null
+++ b/vars/hostclass/matrix_server
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+synapse_federation_port=8448
+
+allowed_tcp_ports="ssh http https ${synapse_federation_port}"
+acme=true
+nginx_public=true
diff --git a/vars/hostclass/xmpp_server b/vars/hostclass/xmpp_server
index 8a3a20c..fb63bbe 100644
--- a/vars/hostclass/xmpp_server
+++ b/vars/hostclass/xmpp_server
@@ -6,4 +6,3 @@ prosody_s2s_tls_port=5270
allowed_tcp_ports="ssh http https xmpp-client xmpp-server ${prosody_c2s_tls_port} ${prosody_s2s_tls_port}"
acme=true
nginx_public=true
-