数据接收接口

vali b8a62d5b4a aaa 6 vuotta sitten
app b8a62d5b4a aaa 6 vuotta sitten
commands b8a62d5b4a aaa 6 vuotta sitten
configs b8a62d5b4a aaa 6 vuotta sitten
datainf b8a62d5b4a aaa 6 vuotta sitten
logs 7a19aedb5d init.. 6 vuotta sitten
composer.json b9448c0254 update composer source 6 vuotta sitten
composer.lock a874ad0b01 update 6 vuotta sitten
readme.txt 7c12a40eea init.... 6 vuotta sitten

readme.txt

1.安装docker服务进程
2.下载镜像 docker.io/zaherg/php-swoole (此镜像中有php7.3 swoole4.3扩展 redis扩展)
3.新建目录 /home/swooleProV2/dataInterface/
4.上传文件到此目录下面,
5.运行composer update 更新comoser组件
6.注意修改配置文件以适应线上环境[复制 config.sample.php 为 config.php]
7.启动容器 注意目录(建立目录映射)和端口关系(应用启动的默认端口号为:9093)
8.手动启动脚本 /home/swooleProV2/dataInterface/command/init.sh 启动服务,[也可以在启动容器时启动脚本,一并启动服务]
9.重启服务:可以重启容器,或kill主进程再重运行启动脚本