add PROFILE env
This commit is contained in:
parent
b86a8364e9
commit
7a21df05a3
@ -48,5 +48,5 @@ EXPOSE 8001
|
|||||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
||||||
CMD curl -f http://localhost:8001/api/health || exit 1
|
CMD curl -f http://localhost:8001/api/health || exit 1
|
||||||
|
|
||||||
# 启动命令 - 使用优化的统一启动脚本
|
# 启动命令 - profile通过环境变量PROFILE配置,默认为balanced
|
||||||
CMD ["python3", "start_unified.py", "--profile", "balanced"]
|
CMD ["sh", "-c", "python3 start_unified.py --profile ${PROFILE:-balanced}"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user