4d07818b by 周伟奇

update README

1 parent e2c2004e
...@@ -94,6 +94,8 @@ bin/control.sh logs backend ...@@ -94,6 +94,8 @@ bin/control.sh logs backend
94 - backend logs 94 - backend logs
95 - backend sanic worker num可配置 95 - backend sanic worker num可配置
96 - 随机选择triton端口,该配置项无意义 96 - 随机选择triton端口,该配置项无意义
97 - 取消java,更新接口及文档 97 - 取消java,更新接口及文档,完善响应结果
98 - 参数校验
99 - 多余的包
98 - ASGI & supervisor ? 100 - ASGI & supervisor ?
99 - async ? 101 - async ?
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -97,6 +97,8 @@ fi ...@@ -97,6 +97,8 @@ fi
97 # -v 97 # -v
98 BACKEND_CONTAINER_VOLUMES=( 98 BACKEND_CONTAINER_VOLUMES=(
99 "${LOG_BASE_DIR}:/logs" 99 "${LOG_BASE_DIR}:/logs"
100 "${BACKEND_PYTHON_DIR}:/app"
101 "${LICENSE_DIR}:/license"
100 ) 102 )
101 BACKEND_VOLUMES_OPTION="" 103 BACKEND_VOLUMES_OPTION=""
102 if (( ${#BACKEND_CONTAINER_VOLUMES[@]} > 0 )); then 104 if (( ${#BACKEND_CONTAINER_VOLUMES[@]} > 0 )); then
...@@ -105,7 +107,7 @@ if (( ${#BACKEND_CONTAINER_VOLUMES[@]} > 0 )); then ...@@ -105,7 +107,7 @@ if (( ${#BACKEND_CONTAINER_VOLUMES[@]} > 0 )); then
105 fi 107 fi
106 # -p 108 # -p
107 BACKEND_CONTAINER_PORTS=( 109 BACKEND_CONTAINER_PORTS=(
108 "${BACKEND_PORT}:9002" 110 "${BACKEND_PORT}:80"
109 ) 111 )
110 BACKEND_PORTS_OPTION="" 112 BACKEND_PORTS_OPTION=""
111 if (( ${#BACKEND_CONTAINER_PORTS[@]} > 0 )); then 113 if (( ${#BACKEND_CONTAINER_PORTS[@]} > 0 )); then
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!