1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-30 19:55:10 +00:00
pixelfed/config/federation.php

58 lines
1.2 KiB
PHP
Raw Normal View History

2019-06-09 23:15:01 +00:00
<?php
return [
/*
|--------------------------------------------------------------------------
| ActivityPub
|--------------------------------------------------------------------------
|
| ActivityPub configuration
|
*/
'activitypub' => [
'enabled' => env('ACTIVITY_PUB', false),
'outbox' => env('AP_OUTBOX', true),
'inbox' => env('AP_INBOX', true),
'sharedInbox' => env('AP_SHAREDINBOX', true),
2019-06-09 23:15:01 +00:00
2019-07-19 01:41:53 +00:00
'remoteFollow' => env('AP_REMOTE_FOLLOW', false),
2019-06-09 23:25:17 +00:00
2019-06-09 23:15:01 +00:00
'delivery' => [
2020-11-26 07:39:01 +00:00
'timeout' => env('ACTIVITYPUB_DELIVERY_TIMEOUT', 30.0),
2020-05-24 05:08:27 +00:00
'concurrency' => env('ACTIVITYPUB_DELIVERY_CONCURRENCY', 10),
'logger' => [
'enabled' => env('AP_LOGGER_ENABLED', false),
'driver' => 'log'
]
2019-06-09 23:15:01 +00:00
]
],
'atom' => [
'enabled' => env('ATOM_FEEDS', true),
],
2021-12-31 04:05:50 +00:00
'avatars' => [
'store_local' => env('REMOTE_AVATARS', true),
2021-12-31 04:05:50 +00:00
],
2019-06-09 23:15:01 +00:00
'nodeinfo' => [
'enabled' => env('NODEINFO', true),
],
'webfinger' => [
'enabled' => env('WEBFINGER', true)
],
2022-01-19 06:03:21 +00:00
'network_timeline' => env('PF_NETWORK_TIMELINE', true),
'network_timeline_days_falloff' => env('PF_NETWORK_TIMELINE_DAYS_FALLOFF', 2),
2022-01-19 06:03:21 +00:00
'custom_emoji' => [
'enabled' => env('CUSTOM_EMOJI', false),
// max size in bytes, default is 2mb
'max_size' => env('CUSTOM_EMOJI_MAX_SIZE', 2000000),
]
2021-04-07 03:17:42 +00:00
];