https://github.com/liburdi/docker-php
docker快速启动php+nginx+mysql+redis环境
https://github.com/liburdi/docker-php
docker docker-php nginx
Last synced: 3 months ago
JSON representation
docker快速启动php+nginx+mysql+redis环境
- Host: GitHub
- URL: https://github.com/liburdi/docker-php
- Owner: liburdi
- Created: 2022-12-17T08:18:07.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T09:46:49.000Z (over 1 year ago)
- Last Synced: 2025-01-18T10:32:35.691Z (about 1 year ago)
- Topics: docker, docker-php, nginx
- Language: Dockerfile
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 快速搭建php环境
### setup0
更换国内镜像源
```
vim /etc/docker/daemon.json
{
"registry-mirrors":["https://docker.mirrors.ustc.edu.cn"]
}
```
### setup1
在项目目录下
```
git clone https://github.com/liburdi/docker-php.git
mv docker-php/* ./
```
### setup2
```
vim docker/nginx/default.conf
```
### setup3
```
docker-compose up
```