fix: 解决访问没有埋点的问题
This commit is contained in:
@@ -77,5 +77,19 @@ RUN echo "zend_extension=xdebug.so" > /usr/local/etc/php/conf.d/xdebug.ini
|
||||
# 暴露端口
|
||||
EXPOSE 9000 9003
|
||||
|
||||
|
||||
############ 查看 cron 进程
|
||||
## 查看 cron 进程
|
||||
# ps aux | grep "think cron:schedule"
|
||||
# # 精确查找
|
||||
# pgrep -f "think cron:schedule"
|
||||
# # 查看进程树
|
||||
# pstree -p | grep -i cron
|
||||
|
||||
## 启动 cron 任务
|
||||
# 守护进程模式
|
||||
# nohup php think cron:schedule > /dev/null 2>&1 &
|
||||
#######################################
|
||||
|
||||
# 启动Supervisor
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||
Reference in New Issue
Block a user