From a247286b252017c86c7ae5a4f19019c89d6ee60f Mon Sep 17 00:00:00 2001 From: zhoudw <zhoudw@infobird.com> Date: Mon, 21 Feb 2022 14:40:52 +0800 Subject: [PATCH] 配置 --- /dev/null | 0 config/default.php | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/config/default.php b/config/default.php new file mode 100644 index 0000000..582edaf --- /dev/null +++ b/config/default.php @@ -0,0 +1,23 @@ +<?php +/* + * @Author: your name + * @Date: 2021-12-15 11:33:00 + * @LastEditTime: 2021-12-21 17:53:53 + * @LastEditors: Please set LastEditors + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + * @FilePath: /websocket/config/config.php + */ +return array( + //WebSocket绑定、分组、在线等信息存储使用的Redis配置 + 'redis' => array( + 'host' => '3011_etscloudservice_redis_ip', + 'port' => '3011_etscloudservice_redis_port', + ), + //本机WebSocket服务配置 + 'server_config' => array( + 'allow_ip' => '3011_etscloudservice_redis_ip.3011_etscloudservice_redis_port', + 'host' => '0.0.0.0', + 'port' => '9501', + ), + +); diff --git a/config/pro.php b/config/pro.php deleted file mode 100644 index e69de29..0000000 --- a/config/pro.php +++ /dev/null -- Gitblit v1.8.0