pypubsub.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # General server settings
  2. server:
  3. port: 2069
  4. bind: 0.0.0.0
  5. max_payload_size: 102400 # Max size of each JSON payload
  6. backlog:
  7. size: 0 # Max number of payloads to keep in backlog cache (set to 0 to disable)
  8. max_age: 48h # Maximum age of a backlog item before culling it (set to 0 to never prune on age)
  9. # Uncomment the parts below for TLS support
  10. #tls:
  11. # port: 2070
  12. # cert: /path/to/domain.crt
  13. # key: /path/to/domain.key
  14. # chain: /path/to/domain.chain
  15. # storage: backlog.json # File-storage for backlog between restarts. Comment out to disable.
  16. # Client settings
  17. clients:
  18. # Payloaders are clients that are allowed to push events (CIDR-based)
  19. payloaders:
  20. - 127.0.0.1/24
  21. - 10.0.0.1/24
  22. # Oldschoolers denotes clients expecting binary events, such as svnwcsub
  23. oldschoolers:
  24. - svnwcsub
  25. # Secure topics are a list of topics that may only be broadcast by certain authenticated users.
  26. # Default is nil, which means all topics are allowed by anyone in the allow CIDRs
  27. secure_topics: ~
  28. # ldap:
  29. # uri: ldaps://ldap.example.org
  30. # user_dn: uid=%s,ou=people,dc=example,dc=org
  31. # base_scope: dc=example,dc=org
  32. # membership_patterns:
  33. # - member=uid=%s,ou=people,dc=example,dc=org:
  34. # - uid=%s
  35. # acl:
  36. # "cn=syadmins,ou=teams,dc=example,dc=org":
  37. # - accounts
  38. # - restricted
  39. # uid=janedoe,ou=people,dc=example,dc=org:
  40. # - accounts
  41. # - contracts
  42. # - hr
  43. #sqs:
  44. # defaultQueue:
  45. # queue: myQueueName.fifo
  46. # region: us-east-1
  47. # delete: true # If set, deletes items from SQS as they are processed. Comment out to keep items in SQS
  48. # # The below can be commented out to use basic ~/.aws/credentials configuration for the user
  49. # key: AWS_ACCESS_KEY_ID
  50. # secret: AWS_SECRET_ACCESS_KEY