config.php.example 3.89 KB
Newer Older
1
<?php
dmorley's avatar
dmorley committed
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

dmorley's avatar
dmorley committed
38 39 40
    //Number of minutes to report on status.php that the run is still green
    'status_green'   => '',

41
    //CA for curl to use - full file path
42
    'cafullpath'  => '',
43

44 45 46
    //Mapbox.com API key. https://www.mapbox.com/help/how-access-tokens-work/
    'mapboxkey'   => '',

47
    //Geolite2-city database file in mmdb format - full file path
48
    'geoip2db'    => '',
49

dmorley's avatar
dmorley committed
50 51 52
    //sitemap file - full dir path
    'sitemap'  => __DIR__ . '/sitemap.xml',

53 54
    //detectlanguage.com api key
    'dlkey'       => '',
dmorley's avatar
dmorley committed
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
    
    //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)%',     
81
];