docker

Docker for services
git clone git://git.unixkoans.com/docker.git
Log | Files | Refs

commit 3d684a65afce2cedc7915e30b3c11ab7da789ff1
parent e971b39a541c55469523fe21bd69acad93a2c1ea
Author: Xiaodong Xu <xuxiaodong@medatc.com>
Date:   Sat Jun  2 13:23:29 +0800

Update LEMP

Diffstat:
lemp/docker-compose.yml | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lemp/docker-compose.yml b/lemp/docker-compose.yml @@ -2,11 +2,11 @@ version: '2' services: php: - image: php:7.1-fpm + image: php:7.1-fpm-custom restart: always volumes: - ./www.conf:/usr/local/etc/php-fpm.d/www.conf - - ./data/html:/var/www/html + - ./../../sites:/var/www/html nginx: image: nginx:stable @@ -21,7 +21,7 @@ services: volumes: - ./nginx.conf:/etc/nginx/nginx.conf - ./conf.d:/etc/nginx/conf.d - - ./data/html:/var/www/html + - ./../../sites:/var/www/html mysql: image: mysql:5.7 @@ -29,7 +29,7 @@ services: ports: - 3306:3306 volumes: - - /var/local/mysql:/var/lib/mysql + - ./data/mysql:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD=root