enh: remove moe

This commit is contained in:
jiajingbin 2025-03-24 20:32:35 +08:00
parent 3924c5a043
commit 6648d2a502
2 changed files with 15 additions and 9 deletions

View File

@ -9,10 +9,15 @@ ADD ${pkgFile} \
http://${nasIp}/data/nas/TDengine/anode/taos.pth \
http://${nasIp}/data/nas/TDengine/anode/taos_ts_server.py \
http://${nasIp}/data/nas/TDengine/anode/fc_australia.sql \
http://${nasIp}/data/nas/TDengine/anode/timer-moe.tar.gz \
# http://${nasIp}/data/nas/TDengine/anode/timer-moe.tar.gz \
/apps/
RUN cd ${dirName}/ && /bin/bash install.sh -e no && cd .. && rm -rf ${dirName}
# RUN tar -xzf timer-moe.tar.gz && \
# rm -rf timer-moe.tar.gz && \
RUN cd ${dirName}/ && \
/bin/bash install.sh -e no && \
cd .. && \
rm -rf ${dirName}
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh /apps/taos_ts_server.py
EXPOSE 6090 8387 5000

View File

@ -23,14 +23,15 @@ if ! ps -p $TAOS_TS_PID > /dev/null; then
exit 1
fi
echo "Starting timer-moe server..."
python3 $TIMER_POE_FILE --action server &
TIMER_MOE_PID=$!
# echo "Starting timer-moe server..."
# cd /apps/timer-moe
# python3 $TIMER_POE_FILE --action server &
# TIMER_MOE_PID=$!
if ! ps -p $TIMER_MOE_PID > /dev/null; then
echo "Error: timer-moe server failed to start!"
exit 1
fi
# if ! ps -p $TIMER_MOE_PID > /dev/null; then
# echo "Error: timer-moe server failed to start!"
# exit 1
# fi
echo "Starting uWSGI with config: $CONFIG_FILE"
exec /usr/local/taos/taosanode/venv/bin/uwsgi --ini "$CONFIG_FILE"