localhost.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. ),
  13. 'log' => array
  14. (
  15. 'type' => 'Mongo',
  16. 'host' => 'web-mongodb',
  17. 'port' => '27017',
  18. 'name' => DEVER_PROJECT,
  19. 'user' => 'dever',
  20. 'pwd' => 'dever20241685267915',
  21. # 暂时用mysql
  22. /*
  23. 'type' => 'Pdo',
  24. 'host' => 'web-mysql',
  25. 'port' => '3306',
  26. 'name' => DEVER_PROJECT,
  27. 'user' => 'root',
  28. 'pwd' => '123456',
  29. */
  30. /*
  31. 'type' => 'Influxdb',
  32. 'host' => 'http://web-influx:8086',
  33. 'token' => 'w2u7KOsNxtaYBLb0EOmMpeZ4AvrDcZtpSbqcIrrO0WkQjhpQNmMm_B4WQeJtb6GpfrohOPA-SxaI0FmBSkYHhg==',
  34. 'name' => DEVER_PROJECT,
  35. 'user' => 'shemic',
  36. 'precision' => 's',
  37. */
  38. ),
  39. 'redis' => array
  40. (
  41. 'host' => 'server-redis',
  42. 'port' => '6379',
  43. 'password' =>
  44. 'dm_redis_123',
  45. 'expire' => 2147483647
  46. ),
  47. );