forked from ortuman/jackal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker.jackal.yml
83 lines (65 loc) · 1.52 KB
/
docker.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
# jackal Docker configuration file
pid_path: /var/run/jackal.pid
logger:
level: debug
log_path: /var/log/jackal/jackal.log
storage:
type: badgerdb
badgerdb:
data_dir: ./.data
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
- blocking_command # XEP-0191: Blocking Command
- ping # XEP-0199: XMPP Ping
- offline # Offline storage
mod_roster:
versioning: true
mod_offline:
queue_size: 2500
mod_registration:
allow_registration: yes
allow_change: yes
allow_cancel: yes
mod_version:
show_os: true
mod_ping:
send: no
send_interval: 60
virtual_hosts:
- id: default
connect_timeout: 5
max_stanza_size: 32768
resource_conflict: replace # [override, replace, reject]
transport:
type: socket # websocket
bind_addr: 0.0.0.0
port: 5222
keep_alive: 120
url_path: /xmpp/ws
compression:
level: default
sasl:
- plain
- digest_md5
- scram_sha_1
- scram_sha_256
s2s:
disabled: false
dial_timeout: 15
dialback_secret: s3cr3tf0rd14lb4ck
max_stanza_size: 131072
transport:
bind_addr: 0.0.0.0
port: 5269
keep_alive: 600