115 Unstar Star 498 Fork 111

GVPswoft / swoftPHP

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
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 )

Sign in for post a comment

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

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542