# wordpress **Repository Path**: lingruanjishukaifa/wordpress ## Basic Information - **Project Name**: wordpress - **Description**: 基于php-fpm构建,构建博客系统Wordpress - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2018-04-03 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ##wordpress >基于php-fpm镜像构建,当前非常流行的博客系统 ### 如何构建 ``` git clone https://git.oschina.net/csphere/wordpress.git cd wordpress docker build -t csphere/wordpress:4.3 . ``` ### 运行容器 ``` docker run -d -p 80:80 --name myblog --restart=always -e WORDPRESS_DB_USER=myuser -e WORDPRESS_DB_PASSWORD=mypass -e WORDPRESS_DB_HOST=192.168.42.1 -v /data/logs:/var/log/nginx csphere/wordpress:4.3 ``` 或者 `docker-compose up -d`