Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/an5dy/docker-lnmp
dokcer 搭建 LNMP 环境
https://github.com/an5dy/docker-lnmp
docker
Last synced: 17 days ago
JSON representation
dokcer 搭建 LNMP 环境
- Host: GitHub
- URL: https://github.com/an5dy/docker-lnmp
- Owner: An5dy
- Created: 2018-06-25T02:13:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T03:37:12.000Z (over 6 years ago)
- Last Synced: 2024-11-20T19:54:22.530Z (3 months ago)
- Topics: docker
- Language: PHP
- Size: 27.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-LNMP
### 第一步:设置配置文件
``
cp variables.env.example variables.env
``设置数据库初始密码、测试库及新增用户
### 第二步:设置 php、mysql、nginx 配置文件
具体文件在相应的文件夹下### 第三步:构建服务容器
``
docker-compose build
``### 第四步:运行
``
docker-compose up 或 -d(后台运行)
``- 停止运行
``
docker-compose down
``### 第五步:测试
访问 127.0.0.1:81,查看 phpinfo 信息,模块是否安装成功。