<?php

return [
    'driver' => getenv('DB_DRIVER') ?: 'pgsql',
    'host' => getenv('DB_HOST') ?: '185.130.224.177',
    'port' => getenv('DB_PORT') ?: '5481',
    'database' => getenv('DB_DATABASE') ?: 'postgres',
    'username' => getenv('DB_USERNAME') ?: 'admin',
    'password' => getenv('DB_PASSWORD') ?: '38feaad2840ccfda0e71243a6faaecfd',
    'charset' => 'utf8',
    
    'options' => [
        PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
        PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
        PDO::ATTR_EMULATE_PREPARES => false,
    ]
];
