config.php.example 1.01 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 39
    //CA for curl to use - full file path (pull.sh will update this monthly)
    'cafullpath'  => '',
40

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

    //Geolite2-city database file in mmdb format - full file path (pull.sh will update this monthly)
    'geoip2db'    => '',
46 47 48

    //detectlanguage.com api key
    'dlkey'       => '',
49
];