https://github.com/yeosz/docker
docker,lnmp开发环境,mysql主从等
https://github.com/yeosz/docker
docker lnmp mysql
Last synced: 6 months ago
JSON representation
docker,lnmp开发环境,mysql主从等
- Host: GitHub
- URL: https://github.com/yeosz/docker
- Owner: yeosz
- License: mit
- Created: 2019-08-19T02:25:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T11:19:51.000Z (about 5 years ago)
- Last Synced: 2025-02-06T22:42:43.656Z (8 months ago)
- Topics: docker, lnmp, mysql
- Language: Dockerfile
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker
### consul
1. 启动 `docker-compose up -d`
2. 打开浏览器,访问 `http://ip:8500 `### lnmp(lnmp开发环境)
1. 启动 `docker-compose up -d`
2. 检测nginx,mysql,redis是否正常 `curl http://localhost/test.php`### mysql(MySQL主从)
1. 启动 `docker-compose up -d`
2. 主库新建test数据库,建表,插入数据
3. 查看从库是否同步