Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deploy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
deploy
Commits
1f618bb1
Commit
1f618bb1
authored
Feb 02, 2024
by
Your Name
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://code.wuban.net.cn/odysseus/deploy
parents
6b3fc98d
271aa5b5
Pipeline
#698
canceled with stages
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
27 deletions
+30
-27
.DS_Store
.DS_Store
+0
-0
.DS_Store
conf/admin-backend/.DS_Store
+0
-0
kong.conf
conf/admin-backend/conf/kong.conf
+1
-1
mysql.conf
conf/admin-backend/conf/mysql.conf
+4
-4
postgres.conf
conf/admin-backend/conf/postgres.conf
+1
-1
redis.conf
conf/admin-backend/conf/redis.conf
+4
-4
config.toml
conf/nodemanager/config.toml
+8
-8
config.toml
conf/schedule/config.toml
+8
-7
docker-compose-api.yml
docker-compose-api.yml
+4
-2
No files found.
.DS_Store
View file @
1f618bb1
No preview for this file type
conf/admin-backend/.DS_Store
View file @
1f618bb1
No preview for this file type
conf/admin-backend/conf/kong.conf
View file @
1f618bb1
...
...
@@ -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
conf/admin-backend/conf/mysql.conf
View file @
1f618bb1
...
...
@@ -6,8 +6,8 @@ mysqlport = 3306
mysqldb
=
"liuxuzhong"
[
prod
]
mysqluser
=
"
root
"
mysqlpass
=
"
12345678
"
mysqlhost
=
"1
92.168.1.211
"
mysqluser
=
"
ai
"
mysqlpass
=
"
RFnnKHRar5xk7TEF
"
mysqlhost
=
"1
72.31.12.187
"
mysqlport
=
3306
mysqldb
=
"liuxuzhong"
\ No newline at end of file
mysqldb
=
"ai"
\ No newline at end of file
conf/admin-backend/conf/postgres.conf
View file @
1f618bb1
...
...
@@ -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
conf/admin-backend/conf/redis.conf
View file @
1f618bb1
...
...
@@ -9,12 +9,12 @@ balancepass = ""
[
prod
]
tokenhost
=
"1
92.168.1.10
:6379"
tokenhost
=
"1
72.31.12.187
:6379"
tokendb
=
0
tokenpass
=
""
tokenpass
=
"
iH0g2CqzjI6SfercGwsT
"
balancehost
=
"1
92.168.1.10
:6379"
balancehost
=
"1
72.31.12.187
:6379"
balancedb
=
0
balancepass
=
""
balancepass
=
"
iH0g2CqzjI6SfercGwsT
"
conf/nodemanager/config.toml
View file @
1f618bb1
...
...
@@ -2,22 +2,22 @@ host="127.0.0.1"
port
=
10001
metrics_port
=
28010
private_key
=
"E671C143A110C239B563F702E9F4017CA6B2B2912F675EED9AA4FED684EB30CC"
enable_pay
=
fals
e
enable_pay
=
tru
e
[redis]
addr
=
"1
27.0.0.1
:6379"
password
=
"
123456
"
addr
=
"1
72.31.12.187
:6379"
password
=
"
iH0g2CqzjI6SfercGwsT
"
db
=
0
[mysql]
host
=
"1
92.168.1.211
"
host
=
"1
72.31.12.187
"
port
=
3306
user
=
"
root
"
password
=
"
12345678
"
database
=
"
liuxuzhong
"
user
=
"
ai
"
password
=
"
RFnnKHRar5xk7TEF
"
database
=
"
ai
"
[kafka]
brokers
=
"1
27.0.0.1
:9092"
brokers
=
"1
72.31.12.187
:9092"
receipt_topic
=
"taskreceipt"
[ticker]
...
...
conf/schedule/config.toml
View file @
1f618bb1
...
...
@@ -3,18 +3,19 @@ metrics_port = 28012
routines
=
1
[redis]
addr
=
"1
27.0.0.1
:6379"
password
=
"
123456
"
addr
=
"1
72.31.12.187
:6379"
password
=
"
iH0g2CqzjI6SfercGwsT
"
db
=
0
[mysql]
host
=
"1
92.168.1.211
"
host
=
"1
72.31.12.187
"
port
=
3306
user
=
"root"
password
=
"12345678"
database
=
"liuxuzhong"
user
=
"ai"
password
=
"RFnnKHRar5xk7TEF"
database
=
"ai"
[kafka]
brokers
=
"1
92.168.1.10
:9092"
brokers
=
"1
72.31.12.187
:9092"
task_topic
=
"pbaigc"
receipt_topic
=
"taskreceipt"
docker-compose-api.yml
View file @
1f618bb1
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment