Commit 1f618bb1 authored by Your Name's avatar Your Name
parents 6b3fc98d 271aa5b5
Pipeline #698 canceled with stages
No preview for this file type
......@@ -2,4 +2,4 @@
kongadminurl = "http://192.168.1.10:8001"
[prod]
kongadminurl = "http://192.168.1.10:8001"
\ No newline at end of file
kongadminurl = "http://172.31.12.187:8001"
\ No newline at end of file
......@@ -6,8 +6,8 @@ mysqlport = 3306
mysqldb = "liuxuzhong"
[prod]
mysqluser = "root"
mysqlpass = "12345678"
mysqlhost = "192.168.1.211"
mysqluser = "ai"
mysqlpass = "RFnnKHRar5xk7TEF"
mysqlhost = "172.31.12.187"
mysqlport = 3306
mysqldb = "liuxuzhong"
\ No newline at end of file
mysqldb = "ai"
\ No newline at end of file
......@@ -8,6 +8,6 @@ postgresdb = "qdb"
[prod]
postgresuser = "admin"
postgrespass = "quest"
postgreshost = "43.198.252.255"
postgreshost = "172.31.12.187"
postgresport = 8812
postgresdb = "qdb"
\ No newline at end of file
......@@ -9,12 +9,12 @@ balancepass = ""
[prod]
tokenhost = "192.168.1.10:6379"
tokenhost = "172.31.12.187:6379"
tokendb = 0
tokenpass = ""
tokenpass = "iH0g2CqzjI6SfercGwsT"
balancehost = "192.168.1.10:6379"
balancehost = "172.31.12.187:6379"
balancedb = 0
balancepass = ""
balancepass = "iH0g2CqzjI6SfercGwsT"
......@@ -2,22 +2,22 @@ host="127.0.0.1"
port=10001
metrics_port = 28010
private_key = "E671C143A110C239B563F702E9F4017CA6B2B2912F675EED9AA4FED684EB30CC"
enable_pay = false
enable_pay = true
[redis]
addr="127.0.0.1:6379"
password="123456"
addr="172.31.12.187:6379"
password="iH0g2CqzjI6SfercGwsT"
db=0
[mysql]
host="192.168.1.211"
host="172.31.12.187"
port=3306
user="root"
password="12345678"
database="liuxuzhong"
user="ai"
password="RFnnKHRar5xk7TEF"
database="ai"
[kafka]
brokers="127.0.0.1:9092"
brokers="172.31.12.187:9092"
receipt_topic="taskreceipt"
[ticker]
......
......@@ -3,18 +3,19 @@ metrics_port = 28012
routines = 1
[redis]
addr="127.0.0.1:6379"
password="123456"
addr="172.31.12.187:6379"
password="iH0g2CqzjI6SfercGwsT"
db=0
[mysql]
host="192.168.1.211"
host="172.31.12.187"
port=3306
user="root"
password="12345678"
database="liuxuzhong"
user="ai"
password="RFnnKHRar5xk7TEF"
database="ai"
[kafka]
brokers="192.168.1.10:9092"
brokers="172.31.12.187:9092"
task_topic="pbaigc"
receipt_topic="taskreceipt"
......@@ -2,11 +2,13 @@ version: "3.9"
services:
ai-api-mgr:
image: caduceus/ai-api-mgr:v0.0.2
image: caduceus/ai-api-mgr:v0.0.3
container_name: ai-api-mgr
entrypoint: sh -c 'ai-api-mgr -kafkaBroker=172.31.12.187:9092 -questAddr=172.31.12.187:9009 -callbackIpAddr=172.31.12.187:6001 -mysqlAddr=172.31.12.187 -mysqlDbName=ai -mysqlUser=ai -mysqlPassWd=RFnnKHRar5xk7TEF -redisPassWd=iH0g2CqzjI6SfercGwsT -redisAddr=172.31.12.187:6379'
entrypoint: sh -c 'ai-api-mgr -kafkaBroker=43.198.252.255:9092 -questAddr=43.198.252.255:9009 -callbackIpAddr=43.198.252.255:6001 -mysqlAddr=43.198.252.255 -mysqlDbName=ai -mysqlUser=ai -mysqlPassWd=RFnnKHRar5xk7TEF -redisPassWd=iH0g2CqzjI6SfercGwsT -redisAddr=43.198.252.255:6379'
ports:
- 6001:6001
# Kafka http://43.198.252.255:8080
#volumes:
# - /root/tmp:/tmp/
#entrypoint: sh -c 'echo "nebula" && go test -v -run TestNebulaServer ./rpc/grpc/ --timeout 0'
......
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 to comment