An open API service indexing awesome lists of open source software.

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

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.