diff --git a/README.md b/README.md index 9fc596c..b4f072c 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,8 @@ bin/control.sh logs backend - backend logs - backend sanic worker num可配置 - 随机选择triton端口,该配置项无意义 -- 取消java,更新接口及文档 +- 取消java,更新接口及文档,完善响应结果 +- 参数校验 +- 多余的包 - ASGI & supervisor ? - async ? \ No newline at end of file diff --git a/bin/conf.sh b/bin/conf.sh index d37805f..f3f23f6 100644 --- a/bin/conf.sh +++ b/bin/conf.sh @@ -97,6 +97,8 @@ fi # -v BACKEND_CONTAINER_VOLUMES=( "${LOG_BASE_DIR}:/logs" + "${BACKEND_PYTHON_DIR}:/app" + "${LICENSE_DIR}:/license" ) BACKEND_VOLUMES_OPTION="" if (( ${#BACKEND_CONTAINER_VOLUMES[@]} > 0 )); then @@ -105,7 +107,7 @@ if (( ${#BACKEND_CONTAINER_VOLUMES[@]} > 0 )); then fi # -p BACKEND_CONTAINER_PORTS=( - "${BACKEND_PORT}:9002" + "${BACKEND_PORT}:80" ) BACKEND_PORTS_OPTION="" if (( ${#BACKEND_CONTAINER_PORTS[@]} > 0 )); then