2025-12-26 03:03:19 +00:00
|
|
|
<?php
|
|
|
|
|
return [
|
|
|
|
|
'components' => [
|
|
|
|
|
|
|
|
|
|
//docker
|
|
|
|
|
'db' => [
|
|
|
|
|
'class' => 'yii\db\Connection',
|
|
|
|
|
//'dsn' => 'mysql:host=localhost;dbname=lampang_main',
|
2026-01-09 10:35:33 +00:00
|
|
|
'dsn' => 'mysql:host=mariadb;dbname=patho_main',
|
|
|
|
|
'username' => 'patho_main',
|
|
|
|
|
'password' => 'Pp157344121165',
|
2025-12-26 03:03:19 +00:00
|
|
|
'charset' => 'utf8',
|
|
|
|
|
//'enableSchemaCache' => false,
|
|
|
|
|
//'schemaCacheDuration' => 3600,
|
|
|
|
|
//'schemaCache' => 'cache',
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'mailer' => [
|
|
|
|
|
'class' => 'yii\swiftmailer\Mailer',
|
|
|
|
|
'viewPath' => '@common/mail',
|
|
|
|
|
// send all mails to a file by default. You have to set
|
|
|
|
|
// 'useFileTransport' to false and configure a transport
|
|
|
|
|
// for the mailer to send real emails.
|
|
|
|
|
'useFileTransport' => true,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
];
|