From 9abbcfb0993c78b0394d85133989d6e3037e53fe Mon Sep 17 00:00:00 2001 From: wangyaxian Date: Tue, 26 Jan 2021 18:55:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=8E=BB=E6=8E=89=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ----- docker-compose-simplify.yml | 58 ------------------------------------- 2 files changed, 65 deletions(-) delete mode 100644 docker-compose-simplify.yml diff --git a/README.md b/README.md index 8c1dbd1..40a3b74 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,6 @@ - phpMyAdmin - phpRedisAdmin -> 注: 精简版(docker-compose-simplify.yml) -- PHP 7.2 -- Nginx -- MySQL 5.6 -- Redis - ### 目录结构 ``` Docker-LNMP @@ -38,7 +32,6 @@ Docker-LNMP |--------index.php PHP 例程 |----README.md 说明文件 |----docker-compose.yml docker compose 配置文件(完整版: LNMP + Redis + phpMyAdmin + phpRedisAdmin) -|----docker-compose-simplify.yml docker compose 配置文件(精简版: LNMP + Redis) ``` ### 准备 diff --git a/docker-compose-simplify.yml b/docker-compose-simplify.yml deleted file mode 100644 index c680fff..0000000 --- a/docker-compose-simplify.yml +++ /dev/null @@ -1,58 +0,0 @@ -version: '3' - -services: - cgi: - container_name: cgi - build: ./docker/files/cgi - tty: true - restart: always - expose: - - "9000" - volumes: - - ./www:/data/www - - ./docker/log/cgi:/var/log/php-fpm - depends_on: - - mysql - - redis - links: - - mysql:mysql - - redis:redis - proxy: - container_name: proxy - build: ./docker/files/proxy - tty: true - restart: always - ports: - - "80:80" - - "443:443" - volumes: - - ./www:/data/www - - ./docker/config/proxy/conf.d:/etc/nginx/conf.d - - ./docker/log/proxy:/var/log/nginx - depends_on: - - cgi - links: - - cgi - mysql: - container_name: mysql - image: daocloud.io/library/mysql:5.6 - restart: always - expose: - - "3306" - ports: - - "3306:3306" - volumes: - - ./docker/data/mysql:/var/lib/mysql - environment: - - MYSQL_ROOT_PASSWORD=root - redis: - container_name: redis - image: daocloud.io/library/redis - restart: always - expose: - - "6379" - ports: - - "6379:6379" - volumes: - - ./docker/data/redis:/data - command: redis-server --appendonly yes \ No newline at end of file