当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 132

冲击 / swoft
暂停

forked from swoft / swoft 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 849 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
Inhere 提交于 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
PHP
1
https://gitee.com/1273640670/swoft.git
git@gitee.com:1273640670/swoft.git
1273640670
swoft
swoft
master

搜索帮助