12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- /**
- * Created by PhpStorm.
- * User: phperstar
- * Date: 2020/11/5
- * Time: 11:48 AM
- */
- return [
- 'service' => [
- 'type' => 'WebsocketServer',
- 'module' => 'Order',
- 'host' => '0.0.0.0',
- 'port' => 9503,
- 'ssl' => true,
- ],
- 'ssl' => [
- 'ssl_cert_file' => '/www/server/panel/vhost/cert/api.junhailan.com/fullchain.pem',
- 'ssl_key_file' => '/www/server/panel/vhost/cert/api.junhailan.com/privkey.pem',
- ],
- 'app_name' => 'seablue_websocket',
- //'logPath' => '/www/wwwroot/logs/api.junhailan.com/', // 日志目录
- 'logPath' => '/www/wwwroot/logs/api.junhailan.com/websocket/'.date("Ymd"), // 日志目录
- 'logSaveFileApp' => 'websocketinfo.log', // 默认日志文件名称
- 'db' => [
- 'pifabbc' => [
- 'driver' => 'mysql',
- 'host' => '127.0.0.1',
- 'port' => '3306',
- 'username' => 'root',
- 'password' => '0d6047adbbae53c7_test',
- 'dbname' => 'qnys_devanfei_test',
- 'prefix' => 'qianniao',
- 'pconnect' => 0,
- 'charset' => 'utf8',
- ]
- ],
- 'cache' => [
- //权限
- 'default' => [
- 'storage' => 'redis',
- 'host' => '127.0.0.1',
- 'port' => '6379',
- 'auth' => '',
- 'prefix' => 'new_sb_ws_',
- 'database' => '0',
- ],
- ]
- ];
|