docker-compose include services below:
-
Support:
linux/amd64
linux/arm64/v8
-
nginx 1.12.0
-
php 7.1.33 (with-ext: redis、phalcon 3.1.2、swoole 4.5.10、curl, json, mcrypt, openssl, PDO, PDO-mysql, mbstring)
-
mysql 5.7
-
redis 3.2.9
-
node 12
Make sure that docker-compose
is installed.
start docker
docker-compose up -d
stop docker
docker-compose stop
restart docker
docker-compose restart
bash
docker-compose exec nginx bash
docker-compose exec php bash
nginx config directory
./services/nginx/conf.d # docker-composer should restart after adding new config
location of sites
wwwroot