summarylogtreecommitdiffstats
path: root/config.patch
blob: a3167008b59916b9ec24a45b8f3b2e8de6c1cf96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
--- a/example.jackal.yml	2020-03-23 13:24:49.000000000 -0400
+++ b/example.jackal.yml	2020-03-24 11:13:12.283234139 -0400
@@ -1,32 +1,23 @@
 # jackal default configuration file
 
-pid_path: jackal.pid
+pid_path: data/jackal.pid
 
-debug:
-  port: 6060
+# debug:
+#   port: 6060
 
 logger:
   level: debug
   log_path: jackal.log
 
 storage:
-  type: mysql
-  mysql:
-    host: 127.0.0.1:3306
+  type: pgsql
+  pgsql:
+    host: 127.0.0.1:5432
     user: jackal
     password: password
     database: jackal
     pool_size: 16
 
-#storage:
-#  type: pgsql
-#  pgsql:
-#    host: 127.0.0.1:5432
-#    user: jackal
-#    password: password
-#    database: jackal
-#    pool_size: 16
-
 hosts:
   - name: localhost
     tls:
@@ -55,10 +46,10 @@
 #      type: http
 #      pass: http://127.0.0.1:6666
 
-  mod_registration:
-    allow_registration: yes
-    allow_change: yes
-    allow_cancel: yes
+  # mod_registration:
+  #   allow_registration: yes
+  #   allow_change: yes
+  #   allow_cancel: yes
 
   mod_version:
     show_os: true
@@ -76,18 +67,17 @@
     max_stanza_size: 65536
     resource_conflict: replace  # [override, replace, reject]
 
-    transport:
-      type: socket # websocket
-      bind_addr: 0.0.0.0
-      port: 5222
-      # url_path: /xmpp/ws
+    # transport:
+    #   type: socket # websocket
+    #   bind_addr: 0.0.0.0
+    #   port: 5222
+    #   # url_path: /xmpp/ws
 
-    compression:
-      level: default
+    # compression:
+    #   level: default
 
     sasl:
       - plain
-      - digest_md5
       - scram_sha_1
       - scram_sha_256
       - scram_sha_512