diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-05-21 01:45:56 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-05-21 01:45:56 +0300 |
commit | 6f53e6e997c9f4647a667bd58b11bc622fa3b47f (patch) | |
tree | 226bd65a04576de4f41bf8396af97cd43ca27829 /localwebsite/config.php | |
parent | 902a3bfbe2c4645e6725fb7583500d1a28026fad (diff) |
move local website to homekit's tree
Diffstat (limited to 'localwebsite/config.php')
-rw-r--r-- | localwebsite/config.php | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/localwebsite/config.php b/localwebsite/config.php new file mode 100644 index 0000000..47be2f7 --- /dev/null +++ b/localwebsite/config.php @@ -0,0 +1,58 @@ +<?php + +return [ + 'group' => 'www-data', + 'files_mode' => 0664, + 'dirs_mode' => 0775, + 'is_dev' => true, + 'static_public_path' => '/assets', + + 'openwrt_ip' => '192.168.1.1', + + 'inverterd_host' => '192.168.1.2', + 'inverterd_port' => 8305, + + 'pump_host' => '192.168.1.2', + 'pump_port' => 8307, + + 'si7021d_servers' => [ + // fill here, example: + 'hall' => ['192.168.1.3', 8306, 'Big Hall'], + ], + + // modem names (array keys) must match ipset names and + // routing table names on the openwrt router + // + // the order of the keys in the array must be the same + // as the order in which fwmark iptables rules are applied + 'modems' => [ + 'modem-example' => [ + 'ip' => '1.2.3.4', + 'label' => 'Modem Name', + 'short_label' => 'Mname', + 'legacy_token_auth' => false, + ], + ], + + // 'routing_smallhome_ip' => 'fill_me', + // 'routing_default' => 'fill_me', + + 'debug_backtrace' => true, + 'debug_file' => '.debug.log', + + 'twig_cache' => true, + 'templates' => [ + 'web' => [ + 'root' => 'templates-web', + 'cache' => 'cache/templates-web', + ], + ], + + 'static' => [ + 'app.css' => 6, + 'app.js' => 1, + 'polyfills.js' => 1, + 'modem.js' => 1, + 'inverter.js' => 2, + ] +]; |