summarylogtreecommitdiffstats
path: root/jackal.yml
blob: 81e10533676ea17b3fb4cd1feeeb2a99b3cf5cb9 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
pid_path: data/jackal.pid

# debug:
#   port: 6060

logger:
  level: debug
  log_path: jackal.log

storage:
  type: pgsql
  pgsql:
    host: 127.0.0.1:5432
    user: jackal
    password: password
    database: jackal
    pool_size: 16

# cluster:
#   name: node1
#   port: 5010
#   hosts: [127.0.0.1:5009, 127.0.0.1:5011]

router:
  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

components:
#  http_upload:
#    host: upload.jackal.im
#    base_url: https://jackal.im:4430/upload
#    port: 4430
#    upload_path: /var/lib/jackal/httpupload
#    size_limit: 1048576
#    quota: 0
#    expire_after: 600 # secs.

c2s:
  - id: default

    connect_timeout: 5
    max_stanza_size: 65536
    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
      - scram_sha_1
      - scram_sha_256

#s2s:
#    dial_timeout: 15
#    dialback_secret: s3cr3tf0rd14lb4ck
#    max_stanza_size: 131072
#
#    transport:
#      bind_addr: 0.0.0.0
#      port: 5269
#      keep_alive: 600