mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
Announce Log
This commit is contained in:
48
config/clickhouse.php
Normal file
48
config/clickhouse.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Laravel ClickHouse.
|
||||
*
|
||||
* (c) Anton Komarev <anton@komarev.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| ClickHouse Client Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you can configure a connection to connect to the ClickHouse
|
||||
| database and specify additional configuration options.
|
||||
|
|
||||
*/
|
||||
|
||||
'connection' => [
|
||||
'host' => env('CLICKHOUSE_HOST', 'localhost'),
|
||||
'port' => env('CLICKHOUSE_HTTP_PORT', 8123),
|
||||
'username' => env('CLICKHOUSE_USER', 'default'),
|
||||
'password' => env('CLICKHOUSE_PASSWORD', ''),
|
||||
'options' => [
|
||||
'database' => env('CLICKHOUSE_DATABASE', 'default'),
|
||||
'timeout' => 1,
|
||||
'connectTimeOut' => 2,
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| ClickHouse Migration Settings
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'migrations' => [
|
||||
'table' => env('CLICKHOUSE_MIGRATION_TABLE', 'migrations'),
|
||||
'path' => database_path('clickhouse-migrations'),
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user