GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — emoncms/example.settings.php at master · emoncms/emoncms Expand file tree/ Copy pathexample.settings.phpMore file actions 73 lines (63 loc) · 2.29 KB / Copy pathexample.settings.phpFile metadata and controls73 lines (63 loc) · 2.29 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 <?php # ------------------------------------------------------------ # Example emoncms settings.php - DO NOT EDIT!! # # 1. copy example.settings.php and rename to settings.php # 2. edit entries in settings.php as required # 3. copy settings from default-settings.php into settings.php as required # Keep each setting in the block it belongs to # ------------------------------------------------------------ $settings = array( // IMPORTANT: Installation domain: If your emoncms install is available on the public internet // please set this to your fixed domain e.g myemoncmsinstall.org to secure your install. "domain" => false, // Path to the symlinked emoncms modules "emoncms_dir" => "/opt/emoncms", // Path to the EmonScripts repository "openenergymonitor_dir" => "/opt/openenergymonitor", // SQL database settings "sql"=>array( "server" => "localhost", "database" => "emoncms", "username" => "emoncms", "password" => "password", "port" => 3306, // Skip the database setup test, set to false once the database is set up "dbtest" => true ), // Redis, used as a cache to reduce SD card/disk write wear and improve performance "redis"=>array( 'enabled' => true, 'prefix' => '' ), // MQTT, used by the emoncms_mqtt service to send and receive data // Restart the service after a change: sudo systemctl restart emoncms_mqtt.service "mqtt"=>array( 'enabled' => false, 'user' => 'username', 'password' => 'password' ), "feed"=>array( // Engines hidden from feed creation, existing feeds will still work // MYSQL:0, PHPTIMESERIES:2, PHPFINA:5, PHPFIWA:6, MYSQLMEMORY:8 'engines_hidden' => array(0,6,8,10), 'redisbuffer' => array( // Buffer feed data in redis, needs redis enabled and the feedwriter service 'enabled' => true, // Seconds to wait before writing the buffer to disk 'sleep' => 300 ), // Feed data directories, ensure write permission on both 'phpfina' => array('datadir' => '/var/opt/emoncms/phpfina/'), 'phptimeseries' => array('datadir' => '/var/opt/emoncms/phptimeseries/') ), "interface"=>array( 'enable_admin_ui' => false, 'feedviewpath' => "graph/", 'favicon' => "favicon.png" ), "log"=>array( // Log Level: 1=INFO, 2=WARN, 3=ERROR "level" => 2 ) ); |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |