p2.conf.example 536 B

1234567891011121314151617181920
  1. {
  2. "host": "127.0.0.1",
  3. "port": 5347,
  4. "jid": "p2.yourserver.tld",
  5. "sharedSecret": "verysecure",
  6. "debug": false,
  7. "dbUrl": "jdbc:mariadb://localhost:3306/p2?characterEncoding=utf8",
  8. "dbUsername": "p2",
  9. "dbPassword": "secret",
  10. "fcm": {
  11. "serviceAccountFile": "/etc/p2/service-account-file.json"
  12. },
  13. "apns": {
  14. "certificate": "/etc/p2/apns_certificate.pem",
  15. "privateKey": "/etc/p2/apns_privatekey.pem",
  16. "bundleId": "com.example.xmpp",
  17. "sandbox": false
  18. }
  19. }