Skip to content
cloudkoonlyPublic

About

Use docker-compose to build a standard unified lnmp operating environment

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Lite LNMP Docker Environment

English | Français | Deutsch | Español | Italiano | 日本語 | 简体中文 | 繁體中文

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:
git clone https://github.com/cloudkoonly/lite-lnmp.git
  1. Navigate to the project directory:
cd lite-lnmp
  1. Start the environment (choose one):
# 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
├── mysql/            # 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)

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.


💬 Support

© 2025 Cloudkoonly. All Rights Reserved.

About

Use docker-compose to build a standard unified lnmp operating environment

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages