https://github.com/cloudkoonly/lite-lnmp
Use docker-compose to build a standard unified lnmp operating environment
https://github.com/cloudkoonly/lite-lnmp
docker docker-compose lnmp mysql8 nginx php8
Last synced: 7 months ago
JSON representation
Use docker-compose to build a standard unified lnmp operating environment
- Host: GitHub
- URL: https://github.com/cloudkoonly/lite-lnmp
- Owner: cloudkoonly
- License: mit
- Created: 2025-03-19T07:51:15.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T09:30:35.000Z (7 months ago)
- Last Synced: 2025-03-19T09:33:49.699Z (7 months ago)
- Topics: docker, docker-compose, lnmp, mysql8, nginx, php8
- Language: Dockerfile
- Homepage: https://www.cloudkoonly.com
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lite LNMP Docker Environment
[English](README.md) | [Français](README_FR.md) | [Deutsch](README_DE.md) | [Español](README_ES.md) | [Italiano](README_IT.md) | [日本語](README_JP.md) | [简体中文](README_zh-CN.md) | [繁體中文](README_zh-TW.md)
### Overview
Lite LNMP is a lightweight, efficient Docker environment for PHP development, featuring Nginx, MySQL 8.0, and PHP 8. It provides a standardized development environment that's easy to set up and maintain.### Features
- 🚀 Quick setup with docker-compose
- 🔧 Multiple environment versions support:
- PHP 8.x with MySQL 8.0 (Latest)
- PHP 7.x with MySQL 5.7 (Legacy)
- 📦 Pre-configured and optimized settings
- 🛠️ Easy customization and extension
- 🔒 Secure default configurations### Requirements
- Docker Engine
- Docker Compose
- Git (optional)### Quick Start
1. Clone the repository:
```bash
git clone https://github.com/cloudkoonly/lite-lnmp.git
```2. Navigate to the project directory:
```bash
cd lite-lnmp
```3. Start the environment (choose one):
```bash
# For PHP 8 + MySQL 8 (Latest)
docker-compose -f docker-compose.php8mysql8.yml up -d# For PHP 7 + MySQL 5.7 (Legacy)
docker-compose -f docker-compose.php7mysql5.yml up -d
```### Directory Structure
```
lite-lnmp/
├── app/ # Application files
├── nginx/ # Nginx configuration
├── php8/ # PHP 8.x configuration
├── php7/ # PHP 7.x configuration
├── mysql8/ # MySQL 8.0 configuration
├── mysql5/ # MySQL 5.7 configuration
└── logs/ # Log files
```### Default Ports
- Nginx: 80, 443
- PHP: 8080 8.x
- MySQL: 3308 (MySQL 8.0) / 3306 (MySQL 5.7)## 💬 Support
- Create an issue in this repository
- Join our community discussions
- Email support: opensource@cloudkoonly.com### License
MIT License### Disclaimer
⚠️ **Important Notice:**1. **Development Environment Only**: This project is designed and tested for development environments only. It has not been thoroughly tested for production use.
2. **No Production Use**: We strongly advise against using this setup in production environments without proper security auditing and performance testing.
3. **Security Considerations**: While we follow best practices, this environment may not meet all security requirements for production deployments.
4. **No Warranty**: This software is provided "as is", without warranty of any kind. Use at your own risk.
5. **Support Limitations**: While we welcome bug reports and contributions, we cannot guarantee immediate support or fixes.
6. **Performance Considerations**: The default configurations are optimized for development convenience rather than performance.
By using this software, you acknowledge and accept these limitations and risks.
---
2025 [Cloudkoonly](https://www.cloudkoonly.com). All Rights Reserved.