2017-01-21 11:16:00 +03:00
|
|
|
<?php
|
2019-12-17 23:20:24 +03:00
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2017-01-21 11:16:00 +03:00
|
|
|
return [
|
|
|
|
|
|
|
|
'entity_manager' => [
|
|
|
|
'connection' => [
|
2023-02-15 20:55:25 +03:00
|
|
|
// MySQL
|
2019-12-17 23:20:24 +03:00
|
|
|
'user' => 'root',
|
|
|
|
'password' => 'root',
|
2017-01-21 11:16:00 +03:00
|
|
|
'driver' => 'pdo_mysql',
|
2021-12-11 12:25:58 +03:00
|
|
|
'host' => 'shlink_db_mysql',
|
2021-08-14 20:23:08 +03:00
|
|
|
'dbname' => 'shlink',
|
2023-02-15 20:55:25 +03:00
|
|
|
// 'dbname' => 'shlink_foo',
|
2022-01-10 15:09:24 +03:00
|
|
|
'charset' => 'utf8mb4',
|
2023-02-15 20:55:25 +03:00
|
|
|
|
|
|
|
// Postgres
|
|
|
|
// 'user' => 'postgres',
|
|
|
|
// 'password' => 'root',
|
|
|
|
// 'driver' => 'pdo_pgsql',
|
|
|
|
// 'host' => 'shlink_db_postgres',
|
|
|
|
// 'dbname' => 'shlink_foo',
|
|
|
|
// 'charset' => 'utf8',
|
|
|
|
|
|
|
|
// MSSQL
|
|
|
|
// 'user' => 'sa',
|
|
|
|
// 'password' => 'Passw0rd!',
|
|
|
|
// 'driver' => 'pdo_sqlsrv',
|
|
|
|
// 'host' => 'shlink_db_ms',
|
|
|
|
// 'dbname' => 'shlink_foo',
|
|
|
|
// 'driverOptions' => [
|
|
|
|
// 'TrustServerCertificate' => 'true',
|
|
|
|
// ],
|
2017-01-21 11:16:00 +03:00
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|