# docker-lnmp-thinkphp **Repository Path**: sweetwisdom/docker-lnmp-thinkphp ## Basic Information - **Project Name**: docker-lnmp-thinkphp - **Description**: 基于docker的thinkphp的案例 - **Primary Language**: Docker - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 7 - **Forks**: 3 - **Created**: 2021-03-02 - **Last Updated**: 2025-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于 docker 的 thinkphp 的 lnmp 运行环境 基于[ DNMP(Docker + Nginx + MySQL + PHP7/5 + Redis)是一款全功能的**LNMP 一键安装程序**](https://github.com/yeszao/dnmp),此处适配 thinkphp 可开箱即用! > 开箱即用(需要安装完成 docker 和 doker-compose)[安装示例](https://www.bilibili.com/video/BV1Yb4y1X7ZX/) ``` 克隆: git clone https://gitee.com/sweetwisdom/docker-lnmp-thinkphp 打开当前目录: cd dnmp 初次运行: docker-compose up 后台运行: docker-compose up -d 停止 : docker-compose down ``` > 修改的部分 **修改部分** ``` # 主要是修改伪静态规则 # dnmp/services/nginx/conf.d/localhost.conf root /www/localhost/app/public/; index index.php index.html index.htm; include /www/localhost/app/public/nginx.htaccess; #charset koi8-r; ```