localhost.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. return array
  3. (
  4. 'db' => array
  5. (
  6. 'type' => 'Pdo',
  7. 'host' => 'web-mysql',
  8. 'port' => '3306',
  9. 'name' => DEVER_PROJECT,
  10. 'user' => 'root',
  11. 'pwd' => '123456',
  12. 'pool' => ['enable' => true, 'min' => 2, 'max' => 20, 'idle_time' => 60, 'wait_timeout' => 2],
  13. ),
  14. 'log' => array
  15. (
  16. /*
  17. 'type' => 'Pdo',
  18. 'pdo_type' => 'influxdb',
  19. 'host' => 'web-influx',
  20. 'port' => '8086',
  21. 'name' => 'api',
  22. 'user' => 'rabin',
  23. 'pwd' => 'ilyxddfe521',
  24. */
  25. /*
  26. 'type' => 'Influxdb',
  27. 'host' => 'http://web-influx:8086',
  28. 'token' => 'S9lYxAWiof80ZK_9d9XzT4I30WresaPVl3ukn7odHqpaZ3GJuOHsP9wfWiLwfdZIpJF-TSOdvJZOMK74fUzXMw==',
  29. 'name' => 'api',
  30. 'user' => 'shemic',
  31. 'precision' => 's',
  32. */
  33. 'type' => 'Mongo',
  34. 'host' => 'web-mongodb',
  35. 'port' => '27017',
  36. 'name' => DEVER_PROJECT,
  37. 'user' => 'dever',
  38. 'pwd' => 'dever20241685267915',
  39. ),
  40. );