下载源码。然后在help\docker> 执行 docker compose up


默认会开启一个端口。





配置很清楚。相关目录配置都可以本地修改。




[supervisord]
nodaemon=true
pidfile=/var/run/supervisord.pid
[program:php-fpm]
command=php-fpm
autostart=true
autorestart=true
[program:queue]
command=php think queue:listen --queue
directory=/var/www
autostart=true
autorestart=true
[program:timer]
command=php think timer start
directory=/var/www
autostart=true
autorestart=false
startsecs=1
startretries=0
[program:workerman]
command=php think workerman start --d
directory=/var/www
autostart=true
autorestart=false
startsecs=1
startretries=0
整个都还算顺利。

从这里来看是直接转发了phpfpm. 这是后台登录界面,所以第一要解决的问题是,为什么不显示图片。


ok,是网络慢的问题。但它为什么呢,界面很漂亮,但慢。


慢的原因其实nginx转发给phpfpm9000.免费的营销太少了。

这个免费的框架感觉有点过时了。我还是准备用think-swoole把这个跑起来。
有兴趣的可以看我的高并发框架: ThinkPHP8+Swoole 框架 最终章