shlink/config/autoload/entity-manager.local.php.dist

39 lines
966 B
Text
Raw Normal View History

<?php
declare(strict_types=1);
return [
'entity_manager' => [
'connection' => [
2023-02-15 20:55:25 +03:00
// MySQL
'user' => 'root',
'password' => 'root',
'driver' => 'pdo_mysql',
'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',
'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',
// ],
],
],
];