config.php.example 3.79 KB
Newer Older
1
<?php
2

3 4 5 6
/**
 * Config for Poduptime.
 */

7 8 9
return [
    //backup directory - full dir path
    'backup_dir'  => __DIR__ . '/backup',
10

11 12
    //log directory - full dir path
    'log_dir'     => __DIR__ . '/log',
13

14 15
    //location of pg dump - full dir path
    'pg_dump_dir' => '/usr/bin',
16

17 18
    //db host
    'pghost'      => 'localhost',
19

20 21
    //db port
    'pgport'      => 5432,
22

23 24
    //db username
    'pguser'      => '',
25

26 27
    //db password
    'pgpass'      => '',
28

29 30
    //db name
    'pgdb'        => '',
31

32 33
    //admin email for forms
    'adminemail'  => '',
34

35 36
    //DNS server for dnssec testing. 1.1.1.1 tests the best
    'dnsserver'   => '',
37

38
    //CA for curl to use - full file path
39
    'cafullpath'  => '',
40

41 42 43
    //Mapbox.com API key. https://www.mapbox.com/help/how-access-tokens-work/
    'mapboxkey'   => '',

44
    //Geolite2-city database file in mmdb format - full file path
45
    'geoip2db'    => '',
46

David Morley's avatar
David Morley committed
47 48 49
    //sitemap file - full dir path
    'sitemap'  => __DIR__ . '/sitemap.xml',

50 51
    //detectlanguage.com api key
    'dlkey'       => '',
David Morley's avatar
David Morley committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
    
    //softwares and git repos we support
    'softwares'   =>  [   
        'diaspora'     => ['repo' => 'diaspora/diaspora', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => 'develop'],
        'friendica'    => ['repo' => 'friendica/friendica', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => 'develop'],
        'hubzilla'     => ['repo' => 'hubzilla%2fcore', 'gitsite' => 'framagit.org', 'gittype' => 'gitlab', 'devbranch' => 'dev'],
        'pleroma'      => ['repo' => 'pleroma%2fpleroma', 'gitsite' => 'git.pleroma.social', 'gittype' => 'gitlab', 'devbranch' => 'develop'],
        'socialhome'   => ['repo' => 'socialhome%2fsocialhome', 'gitsite' => 'git.feneas.org', 'gittype' => 'gitlab', 'devbranch' => ''],
        'social-relay' => ['repo' => 'jaywink%2fsocial-relay', 'gitsite' => 'git.feneas.org', 'gittype' => 'gitlab', 'devbranch' => ''],
        'writefreely'  => ['repo' => 'writeas/writefreely', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => 'develop'],
        'ganggo'       => ['repo' => 'ganggo%2fganggo', 'gitsite' => 'git.feneas.org', 'gittype' => 'gitlab', 'devbranch' => ''],
        'funkwhale'    => ['repo' => 'funkwhale%2ffunkwhale', 'gitsite' => 'code.eliotberriot.com', 'gittype' => 'gitlab', 'devbranch' => 'develop'],
        'osada'        => ['repo' => 'zot%2fosada', 'gitsite' => 'framagit.org', 'gittype' => 'gitlab', 'devbranch' => 'dev'],
        'funkwhale'    => ['repo' => 'funkwhale%2ffunkwhale', 'gitsite' => 'dev.funkwhale.audio', 'gittype' => 'gitlab', 'devbranch' => 'develop'],
        'gnusocial'    => ['repo' => 'gnu%2fgnu-social', 'gitsite' => 'git.gnu.io', 'gittype' => 'gitlab', 'devbranch' => 'nightly'],
        'pixelfed'     => ['repo' => 'pixelfed/pixelfed', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => 'dev'],
        'wordpress'    => ['repo' => 'Wordpress/Wordpress', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => ''],
        'misskey'      => ['repo' => 'syuilo/misskey', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => 'develop'],
        'speechmore'   => ['repo' => 'speechmore%2fspeechmore', 'gitsite' => 'gitlab.fancy.org.uk', 'gittype' => 'gitlab', 'devbranch' => ''],
        'peertube'     => ['repo' => 'Chocobozzz/PeerTube', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => 'develop'],
        'plume'        => ['repo' => 'Plume-org/Plume', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => ''],
        'rustodon'     => ['repo' => 'rustodon/rustodon', 'gitsite' => 'api.github.com', 'gittype' => 'github', 'devbranch' => ''],
        ],
        
    //hidden software word strings from table view - %(one)% OR %(one|two|three)%
    'hidden-softwares'  => '%(relay)%',     
78
];