Commit 0ff55ec3 by hcy001

更新配置

parent 7370dd22
set MICRO_REGISTRY=etcd set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379 set MICRO_REGISTRY_ADDRESS=192.168.1.252:2379
go run ../cmd/course_server.go --server_address :9092 go run ../cmd/course_server.go --server_address :9092
\ No newline at end of file
set MICRO_REGISTRY=etcd set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379 set MICRO_REGISTRY_ADDRESS=192.168.1.252:2379
go run ../cmd/course_http_server.go -config=../conf/config.ini go run ../cmd/course_http_server.go -config=../conf/config.ini
\ No newline at end of file
set MICRO_REGISTRY=etcd set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379 set MICRO_REGISTRY_ADDRESS=192.168.1.252:2379
micro api micro api
set MICRO_REGISTRY=etcd set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379 set MICRO_REGISTRY_ADDRESS=192.168.1.252:2379
micro api micro api
set MICRO_REGISTRY=etcd set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379 set MICRO_REGISTRY_ADDRESS=192.168.1.252:2379
go run ../cmd/search_server.go -config=../conf/config.ini go run ../cmd/search_server.go -config=../conf/config.ini
\ No newline at end of file
::set MICRO_REGISTRY=etcd ::set MICRO_REGISTRY=etcd
::set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379 ::set MICRO_REGISTRY_ADDRESS=192.168.1.252:2379
go run ../cmd/search_http_server.go -config=../conf go run ../cmd/search_http_server.go -config=../conf
\ No newline at end of file
set MICRO_REGISTRY=etcd set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379 set MICRO_REGISTRY_ADDRESS=192.168.1.252:2379
go run cmd/user_server.go --server_address :9090 go run cmd/user_server.go --server_address :9090
\ No newline at end of file
set MICRO_REGISTRY=etcd set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379 set MICRO_REGISTRY_ADDRESS=192.168.1.252:2379
micro web micro web
...@@ -8,8 +8,8 @@ api_domain = http://api.ichunt.com/msg/sendMessageByAuto ...@@ -8,8 +8,8 @@ api_domain = http://api.ichunt.com/msg/sendMessageByAuto
api_md5_str = fh6y5t4rr351d2c3bryi api_md5_str = fh6y5t4rr351d2c3bryi
[goods] [goods]
api_url = http://192.168.2.232:60004 api_url = http://192.168.1.237:60014
sz_api_url = http://192.168.2.232:60004 sz_api_url = http://192.168.1.237:60014
[DINGDING] [DINGDING]
SEARCH_API_MONITOR = 6d0fa85e01a02c39347d011ae973fd21b76c6c7ce582d3ea470c6b65a318848d SEARCH_API_MONITOR = 6d0fa85e01a02c39347d011ae973fd21b76c6c7ce582d3ea470c6b65a318848d
......
...@@ -12,7 +12,7 @@ type = mysql ...@@ -12,7 +12,7 @@ type = mysql
[supp] [supp]
user_name = liexin_ass user_name = liexin_ass
password = `liexin_ass#zsyM` password = `liexin_ass#zsyM`
host = 192.168.2.232 host = 192.168.1.252
database = liexin_ass database = liexin_ass
table_prefix =lie_ table_prefix =lie_
type = mysql type = mysql
...@@ -20,7 +20,7 @@ type = mysql ...@@ -20,7 +20,7 @@ type = mysql
[cms] [cms]
user_name = ichuntcms user_name = ichuntcms
password = `ichuntcms#zsyM` password = `ichuntcms#zsyM`
host = 192.168.2.232 host = 192.168.1.252
database = ichuntcms database = ichuntcms
table_prefix = table_prefix =
type = mysql type = mysql
;存放本系统所有rabmq配置 ;存放本系统所有rabmq配置
[rabmq] [rabmq]
url = amqp://guest:guest@192.168.2.232:5672/ url = amqp://guest:guest@192.168.1.252:5672/
;存放本系统所有的队列名称 ;存放本系统所有的队列名称
[rabmq_all] [rabmq_all]
......
...@@ -40,7 +40,7 @@ func main() { ...@@ -40,7 +40,7 @@ func main() {
"szpurchase_message_tasks", "szpurchase_message_tasks",
"szpurchase_message_tasks", "szpurchase_message_tasks",
"direct", "direct",
"amqp://guest:guest@192.168.2.232:5672/", "amqp://guest:guest@192.168.1.252:5672/",
} }
print("3333434") print("3333434")
for{ for{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment