Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* modify production env config according to development

  • Loading branch information...
commit 74954ab22af6e3aa3f16c437e505129befd88487 1 parent 6bcdea4
palmtoy authored
View
3  game-server/config/master.json
@@ -5,7 +5,6 @@
"production":
{
- "id": "master-server-1", "host": "pomelo3.server.163.org", "port": 3005
+ "id": "master-server-1", "host": "127.0.0.1", "port": 3005
}
-
}
View
27 game-server/config/servers.json
@@ -2,7 +2,7 @@
"development": {
"connector": [
{"id": "connector-server-1", "host": "127.0.0.1", "port": 3150, "clientPort": 3010, "frontend": true},
- {"id": "connector-server-2", "host": "127.0.0.1", "port": 3151, "clientPort":3011, "frontend": true}
+ {"id": "connector-server-2", "host": "127.0.0.1", "port": 3151, "clientPort": 3011, "frontend": true}
],
"area": [
{"id": "area-server-1", "host": "127.0.0.1", "port": 3250, "area": 1},
@@ -28,27 +28,34 @@
{"id":"manager-server-1","host":"127.0.0.1","port":3750}
]
},
+
"production": {
"connector": [
- {"id": "connector-server-1", "host": "pomelo3.server.163.org", "port": 3150, "clientPort": 3010, "frontend": true},
- {"id": "connector-server-2", "host": "pomelo3.server.163.org", "port": 3151, "clientPort": 3011, "frontend": true}
+ {"id": "connector-server-1", "host": "127.0.0.1", "port": 3150, "clientPort": 3010, "frontend": true},
+ {"id": "connector-server-2", "host": "127.0.0.1", "port": 3151, "clientPort": 3011, "frontend": true}
],
"area": [
- {"id": "area-server-1", "host": "pomelo2.server.163.org", "port": 3250, "area": 1},
- {"id": "area-server-2", "host": "pomelo1.server.163.org", "port": 3251, "area": 2},
- {"id": "area-server-3", "host": "pomelo0.server.163.org", "port": 3252, "area": 3}
+ {"id": "area-server-1", "host": "127.0.0.1", "port": 3250, "area": 1},
+ {"id": "area-server-2", "host": "127.0.0.1", "port": 3251, "area": 2},
+ {"id": "area-server-3", "host": "127.0.0.1", "port": 3252, "area": 3},
+ {"id": "instance-server-1", "host": "127.0.0.1", "port": 3260, "instance": true},
+ {"id": "instance-server-2", "host": "127.0.0.1", "port": 3261, "instance": true},
+ {"id": "instance-server-3", "host": "127.0.0.1", "port": 3262, "instance": true}
],
"chat": [
- {"id":"chat-server-1","host":"pomelo3.server.163.org","port":3450}
+ {"id":"chat-server-1","host":"127.0.0.1","port":3450}
],
"path": [
- {"id": "path-server-1", "host": "pomelo3.server.163.org", "port": 3550}
+ {"id": "path-server-1", "host": "127.0.0.1", "port": 3550}
],
"auth": [
- {"id": "auth-server-1", "host": "pomelo3.server.163.org", "port": 3650}
+ {"id": "auth-server-1", "host": "127.0.0.1", "port": 3650}
],
"gate": [
- {"id": "gate-server-1", "host": "pomelo3.server.163.org", "clientPort": 3014, "frontend": true}
+ {"id": "gate-server-1", "host": "127.0.0.1", "clientPort": 3014, "frontend": true}
+ ],
+ "manager": [
+ {"id":"manager-server-1","host":"127.0.0.1","port":3750}
]
}
}
View
4 shared/config/mysql.json
@@ -1,6 +1,6 @@
{
"development": {
- "host" : "127.0.0.1",
+ "host" : "127.0.0.1",
"port" : "3306",
"database" : "Pomelo",
"user" : "xy",
@@ -8,7 +8,7 @@
},
"production": {
- "host" : "127.0.0.1",
+ "host" : "127.0.0.1",
"port" : "3306",
"database" : "Pomelo",
"user" : "xy",
Please sign in to comment.
Something went wrong with that request. Please try again.