Metrics
0
Watch 101 Star 404 Fork 96

GVPswoft / swoftPHPApache-2.0

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
首个基于 Swoole 原生协程的新时代 PHP 高性能协程全栈框架,内置协程网络服务器及常用的协程客户端,常驻内存,不依赖传统的 PHP-FPM,全异步非阻塞 IO 实现,以类似于同步客户端的写法实现异步客户端的使用,没有复杂的异步回调,没有繁琐的 yield, 有类似 Go 语言的协程、灵活的注解、强大的全局依赖注入容器、完善的服务治理、灵活强大的 AOP、标准的 PSR 规范实现等等,可以用于构建高性能的Web系统、API、中间件、基础服务等等。 spread retract

https://www.swoft.org/

Clone or download
docker-compose.yml 849 Bytes
Copy Edit Web IDE Raw Blame History
Inhere authored 2019-08-07 20:01 . Update docker-compose.yml
version: '3.4'
services:
swoft:
image: swoft/swoft
# for local develop
# command: php -S 127.0.0.1:13300
container_name: swoft-srv
environment:
- APP_ENV=dev
- TIMEZONE=Asia/Shanghai
restart: always
depends_on:
- mysql
- redis
ports:
- "18306:18306"
- "18307:18307"
- "18308:18308"
volumes:
- ./:/var/www/swoft
# - ./runtime/ng-conf:/etc/nginx
# - ./runtime/logs:/var/log
mysql:
image: mysql
container_name: mysql-srv
environment:
- MYSQL_ROOT_PASSWORD=123456
ports:
- "13306:3306"
volumes:
- ./runtime/data/mysql:/var/lib/mysql
restart: always
redis:
container_name: redis-srv
image: redis:4-alpine
ports:
- "16379:6379"
sysctls:
net.core.somaxconn: 65535
restart: always

Comment ( 0 )

You need to Sign in for post a comment

PHP
1
https://gitee.com/swoft/swoft.git
git@gitee.com:swoft/swoft.git

Help Search