summaryrefslogtreecommitdiff
path: root/data.d/k3s-master/manifests.d/tyilnet/chat-system/prosody/configmap.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data.d/k3s-master/manifests.d/tyilnet/chat-system/prosody/configmap.yaml')
-rw-r--r--data.d/k3s-master/manifests.d/tyilnet/chat-system/prosody/configmap.yaml159
1 files changed, 0 insertions, 159 deletions
diff --git a/data.d/k3s-master/manifests.d/tyilnet/chat-system/prosody/configmap.yaml b/data.d/k3s-master/manifests.d/tyilnet/chat-system/prosody/configmap.yaml
deleted file mode 100644
index 64a6e5f..0000000
--- a/data.d/k3s-master/manifests.d/tyilnet/chat-system/prosody/configmap.yaml
+++ /dev/null
@@ -1,159 +0,0 @@
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: prosody-config
- namespace: chat-system
- labels:
- app.kubernetes.io/created-by: tyil
- app.kubernetes.io/managed-by: manual
- app.kubernetes.io/name: prosody
- app.kubernetes.io/part-of: chat-system
-data:
- prosody.cfg.lua: |
- -- Information on configuring Prosody can be found on our
- -- website at https://prosody.im/doc/configure
-
- daemonize = false;
-
- ---------- Server-wide settings ----------
- admins = {
- "tyil@chat.tyil.nl",
- }
-
- log = {
- { levels = { min = "debug" }, to = "console" };
- }
-
- plugin_paths = { "/usr/local/lib/prosody/modules" }
-
- modules_enabled = {
- -- Generally required
- "disco"; -- Service discovery
- "roster"; -- Allow users to have a roster. Recommended ;)
- "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
- "tls"; -- Add support for secure TLS on c2s/s2s connections
-
- -- Not essential, but recommended
- "adhoc"; -- XEP-0050
- "blocklist"; -- Allow users to block communications with other users
- --"bookmarks"; -- Synchronise the list of open rooms between clients
- "carbons"; -- Keep multiple online clients in sync
- "dialback"; -- Support for verifying remote servers using DNS
- "limits"; -- Enable bandwidth limiting for XMPP connections
- "pep"; -- Allow users to store public and private data in their account
- "private"; -- Legacy account storage mechanism (XEP-0049)
- --"smacks"; -- Stream management and resumption (XEP-0198)
- "vcard4"; -- User profiles (stored in PEP)
- "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
-
- -- Nice to have
- "csi_simple"; -- Simple but effective traffic optimizations for mobile devices
- --"invites"; -- Create and manage invites
- --"invites_adhoc"; -- Allow admins/users to create invitations via their client
- --"invites_register"; -- Allows invited users to create accounts
- "ping"; -- Replies to XMPP pings with pongs
- "register"; -- Allow users to register on this server using a client and change passwords
- "time"; -- Let others know the time here on this server
- "uptime"; -- Report how long server has been running
- "version"; -- Replies to server version requests
- "mam"; -- Store recent messages to allow multi-device synchronization
- --"turn_external"; -- Provide external STUN/TURN service for e.g. audio/video calls
-
- -- Admin interfaces
- "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
- --"admin_shell"; -- Allow secure administration via 'prosodyctl shell'
-
- -- HTTP modules
- --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
- --"http_openmetrics"; -- for exposing metrics to stats collectors
- --"websocket"; -- XMPP over WebSockets
-
- -- Other specific functionality
- "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
- --"announce"; -- Send announcement to all online users
- --"groups"; -- Shared roster support
- --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
- --"mimicking"; -- Prevent address spoofing
- --"motd"; -- Send a message to users when they log in
- --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
- --"s2s_bidi"; -- Bi-directional server-to-server (XEP-0288)
- --"server_contact_info"; -- Publish contact information for this service
- --"tombstones"; -- Prevent registration of deleted accounts
- --"watchregistrations"; -- Alert admins of registrations
- --"welcome"; -- Welcome users who register accounts
- }
-
- modules_disabled = {
- -- "offline"; -- Store offline messages
- -- "c2s"; -- Handle client connections
- -- "s2s"; -- Handle server-to-server connections
- }
-
- s2s_secure_auth = true
-
- limits = {
- c2s = {
- rate = "10kb/s";
- };
- s2sin = {
- rate = "30kb/s";
- };
- }
-
- authentication = "internal_hashed"
- archive_expires_after = "1w" -- Remove archived messages after 1 week
-
- -- Audio/video call relay (STUN/TURN)
- -- To ensure clients connected to the server can establish connections for
- -- low-latency media streaming (such as audio and video calls), it is
- -- recommended to run a STUN/TURN server for clients to use. If you do this,
- -- specify the details here so clients can discover it.
- -- Find more information at https://prosody.im/doc/turn
-
- -- Specify the address of the TURN service (you may use the same domain as XMPP)
- --turn_external_host = "turn.example.com"
-
- -- This secret must be set to the same value in both Prosody and the TURN server
- --turn_external_secret = "your-secret-turn-access-token"
- statistics = "internal"
-
- -- Load configuration from secrets
- Include "secrets.d/*"
-
- -- Configure components
- component_ports = {
- 5347,
- }
- component_interfaces = {
- "*",
- "::",
- }
-
- Include "components.d/*"
-
- -- Load configuration for additional hosts
- Include "hosts.d/*"
-...
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: prosody-vhosts
- namespace: chat-system
- labels:
- app.kubernetes.io/created-by: tyil
- app.kubernetes.io/managed-by: manual
- app.kubernetes.io/name: prosody
- app.kubernetes.io/part-of: chat-system
-data:
- chat.tyil.nl: |
- VirtualHost "chat.tyil.nl"
- ssl = {
- certificate = "certs.d/chat.tyil.nl/tls.crt";
- key = "certs.d/chat.tyil.nl/tls.key";
- }
-
- Component "muc.chat.tyil.nl" "muc"
- name = "Tyil's Chatrooms"
-...