Spaces:
Running
Running
Update config.yaml
Browse files- config.yaml +44 -44
config.yaml
CHANGED
@@ -1,44 +1,44 @@
|
|
1 |
-
domain: "" #填写域名后对外提供链接将使用域名替代 ip:scheduler_port
|
2 |
-
interpreter_image: "leezhuuu/code_interpreter"
|
3 |
-
scheduler_port: 8000 # 调度中心端口
|
4 |
-
interpreter_port_range: # 设置端口范围为 8001-8003,端口范围决定容器数量
|
5 |
-
start:
|
6 |
-
end:
|
7 |
-
dependencies: # 定义容器的依赖项,以下为默认依赖项,可以根据需要自行更改
|
8 |
-
- numpy
|
9 |
-
- pandas
|
10 |
-
- scipy
|
11 |
-
- matplotlib
|
12 |
-
- seaborn
|
13 |
-
- scikit-learn
|
14 |
-
- opencv-python
|
15 |
-
- opencv-python-headless
|
16 |
-
- Pillow
|
17 |
-
- requests
|
18 |
-
- Flask
|
19 |
-
- pyyaml
|
20 |
-
- sympy
|
21 |
-
- plotly
|
22 |
-
- bokeh
|
23 |
-
- statsmodels
|
24 |
-
- jupyter
|
25 |
-
- ipython
|
26 |
-
- jupyterlab
|
27 |
-
- pytest
|
28 |
-
- hypothesis
|
29 |
-
- Flask-Cors
|
30 |
-
- Werkzeug
|
31 |
-
- Gunicorn
|
32 |
-
resource_limits:
|
33 |
-
memory: "" # 可以自定义内存限制,例如 "2g"、"500m" 等,不填则默认不进行限制
|
34 |
-
cpus: "" # 可以自定义 CPU 限制,例如 "1.5"、"0.5" 等,不填则默认不进行限制
|
35 |
-
timeout_seconds: 60 # 设置超时时间为 1 分钟(60 秒)
|
36 |
-
postgres:
|
37 |
-
user: "user" # 数据库用户名,请自行更改
|
38 |
-
password: "password" # 数据库密码,请自行更改
|
39 |
-
db: "code_interpreter_db"
|
40 |
-
host: "localhost"
|
41 |
-
port: "5432" # 数据库端口,请自行更改
|
42 |
-
mode: "docker" # 选择运行模式,可以是 "docker" 或 "k8s"
|
43 |
-
kubeconfig_path: "/path/to/kubeconfig.yaml" # Kubernetes 配置文件路径
|
44 |
-
k8s_interpreter_yaml: "/path/to/code-interpreter.yaml" # Kubernetes 部署配置文件路径
|
|
|
1 |
+
domain: "" #填写域名后对外提供链接将使用域名替代 ip:scheduler_port
|
2 |
+
interpreter_image: "leezhuuu/code_interpreter"
|
3 |
+
scheduler_port: 8000 # 调度中心端口
|
4 |
+
interpreter_port_range: # 设置端口范围为 8001-8003,端口范围决定容器数量
|
5 |
+
start: 7860
|
6 |
+
end: 7860
|
7 |
+
dependencies: # 定义容器的依赖项,以下为默认依赖项,可以根据需要自行更改
|
8 |
+
- numpy
|
9 |
+
- pandas
|
10 |
+
- scipy
|
11 |
+
- matplotlib
|
12 |
+
- seaborn
|
13 |
+
- scikit-learn
|
14 |
+
- opencv-python
|
15 |
+
- opencv-python-headless
|
16 |
+
- Pillow
|
17 |
+
- requests
|
18 |
+
- Flask
|
19 |
+
- pyyaml
|
20 |
+
- sympy
|
21 |
+
- plotly
|
22 |
+
- bokeh
|
23 |
+
- statsmodels
|
24 |
+
- jupyter
|
25 |
+
- ipython
|
26 |
+
- jupyterlab
|
27 |
+
- pytest
|
28 |
+
- hypothesis
|
29 |
+
- Flask-Cors
|
30 |
+
- Werkzeug
|
31 |
+
- Gunicorn
|
32 |
+
resource_limits:
|
33 |
+
memory: "" # 可以自定义内存限制,例如 "2g"、"500m" 等,不填则默认不进行限制
|
34 |
+
cpus: "" # 可以自定义 CPU 限制,例如 "1.5"、"0.5" 等,不填则默认不进行限制
|
35 |
+
timeout_seconds: 60 # 设置超时时间为 1 分钟(60 秒)
|
36 |
+
postgres:
|
37 |
+
user: "user" # 数据库用户名,请自行更改
|
38 |
+
password: "password" # 数据库密码,请自行更改
|
39 |
+
db: "code_interpreter_db"
|
40 |
+
host: "localhost"
|
41 |
+
port: "5432" # 数据库端口,请自行更改
|
42 |
+
mode: "docker" # 选择运行模式,可以是 "docker" 或 "k8s"
|
43 |
+
kubeconfig_path: "/path/to/kubeconfig.yaml" # Kubernetes 配置文件路径
|
44 |
+
k8s_interpreter_yaml: "/path/to/code-interpreter.yaml" # Kubernetes 部署配置文件路径
|