diff --git a/bin/mqproxy/bin/.gitkeep b/bin/mqproxy/bin/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/bin/mqproxy/config/confdb.mysql.json b/bin/mqproxy/config/confdb.mysql.json new file mode 100644 index 00000000..c3477c54 --- /dev/null +++ b/bin/mqproxy/config/confdb.mysql.json @@ -0,0 +1,9 @@ +{ + "host": "mysql-test.kingsome.cn", + "port": 3306, + "user": "root", + "passwd": "keji178", + "database": "confdb_dev_1", + "max_open_conns": 1, + "max_idle_conns": 1 +} diff --git a/bin/mqproxy/config/config.json b/bin/mqproxy/config/config.json new file mode 100644 index 00000000..409fa2b7 --- /dev/null +++ b/bin/mqproxy/config/config.json @@ -0,0 +1,7 @@ +{ + "gamesapi_url": "https://game2006sapi-test.kingsome.cn", + "redirect_url": "https://game2006api-test.kingsome.cn", + "redirect_secret_key": "~kCu8jYS)rJ5Ay_pZS_rT#&jOl)Qo0m)", + "max_concurrent_num": 10, + "request_over_time": 30 +} diff --git a/bin/mqproxy/config/mqproxy.cluster.json b/bin/mqproxy/config/mqproxy.cluster.json new file mode 100644 index 00000000..bb024d7b --- /dev/null +++ b/bin/mqproxy/config/mqproxy.cluster.json @@ -0,0 +1,7 @@ +[ + { + "instance_id": 1, + "listen_port": 3011, + "http_listen_port": 3010 + } +]