From 9ec658df7040f38128d3fedf6140fd7182106bc8 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 15 Sep 2023 13:17:59 +0800 Subject: [PATCH] 1 --- bin/hallserver/config/config.json | 5 +++++ bin/hallserver/config/frienddb.mysql.json | 7 +++++++ bin/hallserver/config/gamedb.mysql.json | 7 +++++++ bin/hallserver/config/hallserver.cluster.json | 7 +++++++ bin/hallserver/config/master.cluster.json | 7 +++++++ 5 files changed, 33 insertions(+) create mode 100644 bin/hallserver/config/config.json create mode 100644 bin/hallserver/config/frienddb.mysql.json create mode 100644 bin/hallserver/config/gamedb.mysql.json create mode 100644 bin/hallserver/config/hallserver.cluster.json create mode 100644 bin/hallserver/config/master.cluster.json diff --git a/bin/hallserver/config/config.json b/bin/hallserver/config/config.json new file mode 100644 index 00000000..feee204a --- /dev/null +++ b/bin/hallserver/config/config.json @@ -0,0 +1,5 @@ +{ + "gameapi_url": "https://game2006api-test.kingsome.cn", + "auto_start_time": 3600, + "game_start_notify_time": 20 +} diff --git a/bin/hallserver/config/frienddb.mysql.json b/bin/hallserver/config/frienddb.mysql.json new file mode 100644 index 00000000..08826af9 --- /dev/null +++ b/bin/hallserver/config/frienddb.mysql.json @@ -0,0 +1,7 @@ +{ + "host": "login-test.kingsome.cn", + "port": 3306, + "user": "root", + "passwd": "keji178", + "database": "frienddb_dev_1" +} diff --git a/bin/hallserver/config/gamedb.mysql.json b/bin/hallserver/config/gamedb.mysql.json new file mode 100644 index 00000000..0e7a7e40 --- /dev/null +++ b/bin/hallserver/config/gamedb.mysql.json @@ -0,0 +1,7 @@ +{ + "host": "login-test.kingsome.cn", + "port": 3306, + "user": "root", + "passwd": "keji178", + "database": "gamedb2006_dev_1" +} diff --git a/bin/hallserver/config/hallserver.cluster.json b/bin/hallserver/config/hallserver.cluster.json new file mode 100644 index 00000000..acd326ae --- /dev/null +++ b/bin/hallserver/config/hallserver.cluster.json @@ -0,0 +1,7 @@ +[ + { + "instance_id": 1, + "listen_port": 8888, + "http_listen_port": 8889 + } +] diff --git a/bin/hallserver/config/master.cluster.json b/bin/hallserver/config/master.cluster.json new file mode 100644 index 00000000..566617fe --- /dev/null +++ b/bin/hallserver/config/master.cluster.json @@ -0,0 +1,7 @@ +[ + { + "instance_id": 1, + "ip": "192.168.100.45", + "listen_port": 7821 + } +]