federation.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | ActivityPub
  6. |--------------------------------------------------------------------------
  7. |
  8. | ActivityPub configuration
  9. |
  10. */
  11. 'activitypub' => [
  12. 'enabled' => env('ACTIVITY_PUB', false),
  13. 'outbox' => env('AP_OUTBOX', true),
  14. 'inbox' => env('AP_INBOX', true),
  15. 'sharedInbox' => env('AP_SHAREDINBOX', true),
  16. 'remoteFollow' => env('AP_REMOTE_FOLLOW', true),
  17. 'delivery' => [
  18. 'timeout' => env('ACTIVITYPUB_DELIVERY_TIMEOUT', 30.0),
  19. 'concurrency' => env('ACTIVITYPUB_DELIVERY_CONCURRENCY', 10),
  20. 'logger' => [
  21. 'enabled' => env('AP_LOGGER_ENABLED', false),
  22. 'driver' => 'log'
  23. ]
  24. ],
  25. 'ingest' => [
  26. 'store_notes_without_followers' => env('AP_INGEST_STORE_NOTES_WITHOUT_FOLLOWERS', false),
  27. ],
  28. ],
  29. 'atom' => [
  30. 'enabled' => env('ATOM_FEEDS', true),
  31. ],
  32. 'avatars' => [
  33. 'store_local' => env('REMOTE_AVATARS', true),
  34. ],
  35. 'nodeinfo' => [
  36. 'enabled' => env('NODEINFO', true),
  37. ],
  38. 'webfinger' => [
  39. 'enabled' => env('WEBFINGER', true)
  40. ],
  41. 'network_timeline' => env('PF_NETWORK_TIMELINE', true),
  42. 'network_timeline_days_falloff' => env('PF_NETWORK_TIMELINE_DAYS_FALLOFF', 2),
  43. 'custom_emoji' => [
  44. 'enabled' => env('CUSTOM_EMOJI', false),
  45. // max size in bytes, default is 2mb
  46. 'max_size' => env('CUSTOM_EMOJI_MAX_SIZE', 2000000),
  47. ],
  48. ];