forked from ortuman/jackal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.jackal.yml
101 lines (81 loc) · 1.82 KB
/
example.jackal.yml
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# jackal default configuration file
pid_path: jackal.pid
debug:
port: 6060
logger:
level: debug
log_path: jackal.log
storage:
type: mysql
mysql:
host: 127.0.0.1:3306
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:
privkey_path: ""
cert_path: ""
modules:
enabled:
- roster # Roster
- last_activity # XEP-0012: Last Activity
- private # XEP-0049: Private XML Storage
- vcard # XEP-0054: vcard-temp
- registration # XEP-0077: In-Band Registration
- version # XEP-0092: Software Version
- pep # XEP-0163: Personal Eventing Protocol
- blocking_command # XEP-0191: Blocking Command
- ping # XEP-0199: XMPP Ping
- offline # Offline storage
mod_roster:
versioning: true
mod_offline:
queue_size: 2500
# gateway:
# type: http
# pass: http://127.0.0.1:6666
mod_registration:
allow_registration: yes
allow_change: yes
allow_cancel: yes
mod_version:
show_os: true
mod_ping:
send: no
send_interval: 60
c2s:
- id: default
connect_timeout: 5
keep_alive: 120
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
compression:
level: default
sasl:
- plain
- scram_sha_1
- scram_sha_256
s2s:
dial_timeout: 15
keep_alive: 600
dialback_secret: s3cr3tf0rd14lb4ck
max_stanza_size: 131072
transport:
bind_addr: 0.0.0.0
port: 5269