summaryrefslogtreecommitdiff
path: root/test/ejabberd_SUITE_data/ejabberd.yml
blob: 195917b6884717bfba977766e63c721c647c22b6 (plain) (blame)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
include_config_file:
  - macros.yml
  - ejabberd.extauth.yml
  - ejabberd.ldap.yml
  - ejabberd.mnesia.yml
  - ejabberd.mysql.yml
  - ejabberd.mssql.yml
  - ejabberd.pgsql.yml
  - ejabberd.redis.yml
  - ejabberd.sqlite.yml

host_config:
  pgsql.localhost: PGSQL_CONFIG
  sqlite.localhost: SQLITE_CONFIG
  mysql.localhost: MYSQL_CONFIG
  mssql.localhost: MSSQL_CONFIG
  mnesia.localhost: MNESIA_CONFIG
  redis.localhost: REDIS_CONFIG
  ldap.localhost: LDAP_CONFIG
  extauth.localhost: EXTAUTH_CONFIG
  localhost:
    auth_method:
      - internal
      - anonymous

hosts:
  - localhost
  - mnesia.localhost
  - redis.localhost
  - mysql.localhost
  - mssql.localhost
  - pgsql.localhost
  - extauth.localhost
  - ldap.localhost
  - sqlite.localhost

shaper_rules:
  c2s_shaper:
    none: admin
    normal: all
  max_user_offline_messages:
    infinity: all
  max_user_sessions:
    10: all
  s2s_shaper:
    fast: all

access_rules:
  announce:
    allow: admin
  c2s:
    deny: blocked
    allow: all
  configure:
    allow: admin
  local:
    allow: local
  muc:
    allow: all
  muc_admin:
    allow: admin
  muc_create:
    allow: local
  pubsub_createnode:
    allow: local
  register:
    allow: all

acl:
  local:
    user_regexp: ""
  admin:
    user: "admin"
language: en
listen:
  -
    port: C2S_PORT
    module: ejabberd_c2s
    max_stanza_size: 65536
    zlib: true
    starttls: true
    tls_verify: true
    shaper: c2s_shaper
    access: c2s
  -
    port: S2S_PORT
    module: ejabberd_s2s_in
  -
    port: WEB_PORT
    module: ejabberd_http
    request_handlers:
      "/admin": ejabberd_web_admin
      "/api": mod_http_api
      "/upload": mod_http_upload
      "/captcha": ejabberd_captcha
  -
    port: STUN_PORT
    module: ejabberd_stun
    transport: udp
    use_turn: true
    turn_ipv4_address: "203.0.113.3"
  -
    port: COMPONENT_PORT
    module: ejabberd_service
    password: PASSWORD
loglevel: LOGLEVEL
max_fsm_queue: 1000
queue_type: file
modules:
  mod_adhoc: []
  mod_announce: []
  mod_configure: []
  mod_disco: []
  mod_ping: []
  mod_proxy65:
    port: PROXY_PORT
    vcard: VCARD
  mod_muc:
    vcard: VCARD
  mod_muc_admin: []
  mod_carboncopy: []
  mod_jidprep: []
  mod_mam: []
  mod_last: []
  mod_register:
    welcome_message:
      subject: "Welcome!"
      body: "Hi.
Welcome to this XMPP server."
  mod_stats: []
  mod_s2s_dialback: []
  mod_legacy_auth: []
  mod_stream_mgmt:
    max_ack_queue: 10
    resume_timeout: 3
  mod_stun_disco:
    secret: "cryptic"
    services:
      -
        host: "example.com"
        type: turns
  mod_time: []
  mod_version: []
  mod_http_upload:
    docroot: PRIV_DIR
    put_url: PUT_URL
    get_url: GET_URL
    max_size: 10000
    vcard: VCARD
registration_timeout: infinity
s2s_use_starttls: false
ca_file: CAFILE
c2s_cafile: CAFILE
outgoing_s2s_port: S2S_PORT
shaper:
  fast: 50000
  normal: 10000
certfiles:
  - CERTFILE

new_sql_schema: NEW_SCHEMA

api_permissions:
  "public commands":
    who: all
    what: "*"