Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
cdbc1d55
authored
Apr 17, 2025
by
a.e
Committed by
GitHub
Apr 17, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ob docker compose file (#4580)
parent
ab059d10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
deploy/docker/docker-compose-oceanbase/docker-compose.yml
+10
-6
No files found.
deploy/docker/docker-compose-oceanbase/docker-compose.yml
View file @
cdbc1d55
...
...
@@ -31,8 +31,12 @@ services:
-
./ob/config:/root/.obd/cluster
-
./init.sql:/root/boot/init.d/init.sql
healthcheck
:
# obclient -h127.0.0.1 -P2881 -uroot@tenantname -ptenantpassword -e "SELECT 1;"
test
:
[
"
CMD-SHELL"
,
"
obclient
-h$OB_SERVER_IP
-P2881
-uroot@$OB_TENANT_NAME
-p$OB_TENANT_PASSWORD
-e
\"
SELECT
1;
\"
"
]
# obclient -h127.0.0.1 -P2881 -uroot@tenantname -ptenantpassword -e "SELECT 1;"
test
:
[
'
CMD-SHELL'
,
'
obclient
-h$OB_SERVER_IP
-P2881
-uroot@$OB_TENANT_NAME
-p$OB_TENANT_PASSWORD
-e
"SELECT
1;"'
]
interval
:
30s
timeout
:
10s
retries
:
1000
...
...
@@ -118,10 +122,10 @@ services:
# # AI Proxy 的 Admin Token,与 AI Proxy 中的环境变量 ADMIN_KEY
# - AIPROXY_API_TOKEN=aiproxy
# 模型中转地址(如果用了 AI Proxy,下面 2 个就不需要了,旧版 OneAPI 用户,使用下面的变量)
-
# openai 基本地址,可用作中转。
-
OPENAI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
-
# OpenAI API Key
-
CHAT_API_KEY=sk-8990fa15a34b464a805237cfe9561f11
# openai 基本地址,可用作中转。
# - OPENAI_BASE_URL=https://example.com
# OpenAI API Key
# - CHAT_API_KEY=sk-example
# 数据库最大连接数
-
DB_MAX_LINK=30
# 登录凭证密钥
...
...
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