From 973f179a36eca98dade5d15f59689e131913d092 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Fri, 8 Jan 2021 15:36:58 +0800 Subject: [PATCH] =?UTF-8?q?docs(=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3):=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 9053e2d..d946167 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,21 @@ # pfenv php-fpm environment + +# docker + +## 拉取镜像 +``` +docker pull xiaoqidun/pfenv:latest +``` + +## docker-compose +``` +version: '3.8' +services: + php-fpm: + image: 'xiaoqidun/pfenv' + restart: 'always' + container_name: 'php-fpm' + volumes: + - '/www:/www' +```