2017-01-21 09:16:00 +01:00
|
|
|
<?php
|
2019-12-17 21:20:24 +01:00
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2017-01-21 09:16:00 +01:00
|
|
|
return [
|
|
|
|
|
|
|
|
'entity_manager' => [
|
|
|
|
'connection' => [
|
2023-02-15 18:55:25 +01:00
|
|
|
// MySQL
|
2019-12-17 21:20:24 +01:00
|
|
|
'user' => 'root',
|
|
|
|
'password' => 'root',
|
2017-01-21 09:16:00 +01:00
|
|
|
'driver' => 'pdo_mysql',
|
2021-12-11 10:25:58 +01:00
|
|
|
'host' => 'shlink_db_mysql',
|
2021-08-14 19:23:08 +02:00
|
|
|
'dbname' => 'shlink',
|
2023-02-15 18:55:25 +01:00
|
|
|
// 'dbname' => 'shlink_foo',
|
2022-01-10 13:09:24 +01:00
|
|
|
'charset' => 'utf8mb4',
|
2023-02-15 18:55:25 +01:00
|
|
|
|
2023-03-30 18:33:53 +02:00
|
|
|
// MariaDB
|
|
|
|
// 'user' => 'root',
|
|
|
|
// 'password' => 'root',
|
|
|
|
// 'driver' => 'pdo_mysql',
|
|
|
|
// 'host' => 'shlink_db_maria',
|
|
|
|
// 'dbname' => 'shlink_foo',
|
|
|
|
// 'charset' => 'utf8mb4',
|
|
|
|
|
2023-02-15 18:55:25 +01: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 09:16:00 +01:00
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|