peppers: keys: v1: ${pepper} use: v1 logger: level: "debug" # Prometheus metrics, pprof & health check http: port: 6060 admin: port: 15280 #hosts: # - domain: jackal.im # tls: # cert_file: "" # privkey_file: "" storage: type: pgsql pgsql: host: 127.0.0.1:5432 user: jackal password: ${psql_user} database: jackal max_open_conns: 16 # cache: # type: redis # redis: # addresses: # - localhost:6379 #cluster: # type: kv # kv: # type: etcd # etcd: # username: root # endpoints: # - http://127.0.0.1:2379 # # server: # port: 14369 shapers: # - name: super # max_sessions: 20 # rate: # limit: 131072 # burst: 65536 # matching: # jid: # regex: ^(ortuman|noelia).+ - name: normal max_sessions: 10 rate: limit: 65536 burst: 32768 c2s: listeners: - port: 5222 req_timeout: 60s transport: socket sasl: mechanisms: - scram_sha_1 - scram_sha_256 # Authentication gateway # (proto: https://github.com/jackal-xmpp/jackal-proto/blob/master/jackal/proto/authenticator/v1/authenticator.proto) external: address: 127.0.0.1:4567 is_secure: false - port: 5223 direct_tls: true req_timeout: 60s transport: socket sasl: mechanisms: - scram_sha_1 - scram_sha_256 s2s: listeners: - port: 5269 req_timeout: 60s max_stanza_size: 131072 - port: 5270 direct_tls: true req_timeout: 60s max_stanza_size: 131072 out: dialback_secret: ${dialback} dial_timeout: 5s req_timeout: 60s max_stanza_size: 131072 modules: # enabled: # - roster # - offline # - last # XEP-0012: Last Activity # - disco # XEP-0030: Service Discovery # - private # XEP-0049: Private XML Storage # - vcard # XEP-0054: vcard-temp # - version # XEP-0092: Software Version # - caps # XEP-0115: Entity Capabilities # - blocklist # XEP-0191: Blocking Command # - stream_mgmt # XEP-0198: Stream Management # - ping # XEP-0199: XMPP Ping # - time # XEP-0202: Entity Time # - carbons # XEP-0280: Message Carbons # # version: # show_os: true # # offline: # queue_size: 300 # # ping: # ack_timeout: 90s # interval: 3m # send_pings: true # timeout_action: kill #components: # secret: a-super-secret-key # listeners: # - port: 5275