config.php 710 B

12345678910111213141516171819202122232425
  1. <?php
  2. use Phalcon\Config;
  3. return new Config([
  4. 'database' => [
  5. 'adapter' => 'Mysql',
  6. 'host' => 'tfb-database',
  7. 'username' => 'benchmarkdbuser',
  8. 'password' => 'benchmarkdbpass',
  9. 'name' => 'hello_world',
  10. 'persistent' => true,
  11. ],
  12. 'mongodb' => [
  13. 'url' => 'mongodb://tfb-database:27017',
  14. 'db' => 'hello_world'
  15. ],
  16. 'application' => [
  17. 'controllersDir' => APP_PATH . '/app/controllers/',
  18. 'modelsDir' => APP_PATH . '/app/models/',
  19. 'collectionsDir' => APP_PATH . '/app/collections/',
  20. 'viewsDir' => APP_PATH . '/app/views/',
  21. 'baseUri' => '/',
  22. ]
  23. ]);