{"id":27018940,"url":"https://github.com/fineg21/docker-lampp-stack","last_synced_at":"2025-04-10T20:19:09.554Z","repository":{"id":286136296,"uuid":"960466400","full_name":"FineG21/docker-lampp-stack","owner":"FineG21","description":"A versatile LAMPP stack (Linux, Apache, MariaDB, PHP) built with Docker on Ubuntu 24.04 LTS, supporting PHP versions 7.4, 8.0, 8.1, and 8.3. Includes Redis, Composer, Node.js, phpMyAdmin, and Adminer for a complete web development environment.","archived":false,"fork":false,"pushed_at":"2025-04-09T18:03:40.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T18:05:21.180Z","etag":null,"topics":["adminer","apache","apache2","devops","docker-image","docker-lamp","docker-lamp-stack","docker-lampp-stack","dockerfile","lamp-stack","lampp-stack","mariadb","php","phpmyadmin-docker"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FineG21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-04T13:37:16.000Z","updated_at":"2025-04-09T18:03:45.000Z","dependencies_parsed_at":"2025-04-04T15:38:30.876Z","dependency_job_id":null,"html_url":"https://github.com/FineG21/docker-lampp-stack","commit_stats":null,"previous_names":["fineg21/docker-lampp-stack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FineG21%2Fdocker-lampp-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FineG21%2Fdocker-lampp-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FineG21%2Fdocker-lampp-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FineG21%2Fdocker-lampp-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FineG21","download_url":"https://codeload.github.com/FineG21/docker-lampp-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248289466,"owners_count":21078916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adminer","apache","apache2","devops","docker-image","docker-lamp","docker-lamp-stack","docker-lampp-stack","dockerfile","lamp-stack","lampp-stack","mariadb","php","phpmyadmin-docker"],"created_at":"2025-04-04T17:17:31.096Z","updated_at":"2025-04-10T20:19:09.522Z","avatar_url":"https://github.com/FineG21.png","language":"Dockerfile","readme":"```markdown\n# 🚀 Docker LAMPP Stack\n\n![Docker LAMPP Stack](https://img.shields.io/badge/Docker-LAMPP%20Stack-blue.svg)\n![PHP Versions](https://img.shields.io/badge/PHP-7.4%20%7C%208.0%20%7C%208.1%20%7C%208.3-orange.svg)\n![Release](https://img.shields.io/github/release/FineG21/docker-lampp-stack.svg)\n\nWelcome to the **Docker LAMPP Stack** repository! This project provides a flexible and powerful environment for web development, combining Linux, Apache, MariaDB, and PHP with Docker on Ubuntu 24.04 LTS. \n\n## 🌟 Features\n\n- **Multi-PHP Version Support**: Choose between PHP 7.4, 8.0, 8.1, and 8.3 to meet your project needs.\n- **Full Stack**: Includes Apache, MariaDB, and additional tools like Redis, Composer, Node.js, phpMyAdmin, and Adminer.\n- **Ease of Use**: Set up your development environment quickly and efficiently using Docker.\n- **Customizable**: Easily modify configurations to suit your project requirements.\n\n## 🛠️ Technologies Used\n\n- **Linux**: The base operating system, providing a reliable environment.\n- **Apache**: The web server for serving your applications.\n- **MariaDB**: A powerful database management system for storing data.\n- **PHP**: The server-side scripting language for dynamic content.\n- **Redis**: A fast in-memory data structure store.\n- **Composer**: Dependency manager for PHP.\n- **Node.js**: JavaScript runtime for server-side scripting.\n- **phpMyAdmin**: A web interface for managing MySQL/MariaDB databases.\n- **Adminer**: An alternative lightweight database management tool.\n\n## 🔗 Quick Start Guide\n\n### Prerequisites\n\nEnsure you have Docker and Docker Compose installed on your machine. If not, you can download them from the official Docker website.\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/FineG21/docker-lampp-stack.git\n   cd docker-lampp-stack\n   ```\n\n2. Start the LAMPP stack:\n\n   ```bash\n   docker-compose up -d\n   ```\n\n3. Access your applications:\n   - Visit `http://localhost` for your PHP application.\n   - Access phpMyAdmin at `http://localhost:8080`.\n   - Access Adminer at `http://localhost:8081`.\n\n### Stopping the Stack\n\nTo stop the running containers, use:\n\n```bash\ndocker-compose down\n```\n\n## 📦 Releases\n\nTo download the latest releases and updates, please check the [Releases section](https://github.com/FineG21/docker-lampp-stack/releases) for executable files. \n\n## 🗂️ Directory Structure\n\nHere is the structure of the project:\n\n```\ndocker-lampp-stack/\n├── docker-compose.yml\n├── Dockerfile\n├── php/\n│   ├── php.ini\n│   └── ...\n├── web/\n│   ├── index.php\n│   └── ...\n└── database/\n    └── init.sql\n```\n\n### Configuration Files\n\n- **docker-compose.yml**: Manages multi-container Docker applications.\n- **Dockerfile**: Contains instructions for building Docker images.\n- **php.ini**: Configuration file for PHP.\n- **init.sql**: Optional SQL file for database initialization.\n\n## 🌐 Accessing the Environment\n\nOnce the Docker containers are running, access the services via the specified ports:\n\n- **Web Application**: `http://localhost`\n- **phpMyAdmin**: `http://localhost:8080`\n- **Adminer**: `http://localhost:8081`\n\n## 🔍 Additional Tools\n\n### Redis\n\nRedis is included in this stack for caching and session management. To use Redis, connect to it using your preferred Redis client.\n\n### Composer\n\nComposer is installed for dependency management in PHP projects. You can run Composer commands inside the PHP container.\n\n### Node.js\n\nNode.js is included for projects that require JavaScript on the server side. Install any necessary packages with `npm` or `yarn`.\n\n## 🔑 Authentication\n\nFor phpMyAdmin and Adminer, you may want to set up your username and password. This can be done by modifying the environment variables in your `docker-compose.yml` file:\n\n```yaml\nenvironment:\n  MYSQL_ROOT_PASSWORD: yourpassword\n```\n\n## 📝 Contributing\n\nWe welcome contributions! If you would like to contribute to the project, please follow these steps:\n\n1. Fork the repository.\n2. Create your feature branch.\n3. Commit your changes.\n4. Push to the branch.\n5. Open a pull request.\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## 📢 Get Involved\n\nJoin our community for discussions, support, and more:\n\n- **GitHub Issues**: Report bugs or request features.\n- **Discussions**: Share your thoughts, ideas, and suggestions.\n\n## 💬 Community Links\n\n- [Docker Community](https://www.docker.com/community/)\n- [PHP Community](https://www.php.net/community)\n\n## 💡 Tips for Usage\n\n- Keep your Docker images up to date.\n- Use `.env` files for environment variables to secure sensitive information.\n- Consider using Docker Volumes for persistent data storage.\n\n## 🎨 Customization\n\nFeel free to customize the Dockerfiles and configurations to better suit your projects. You can also add additional services as needed.\n\n## 🧩 Integrations\n\nThe LAMPP stack can integrate with various CI/CD pipelines. Consider using GitHub Actions, Jenkins, or CircleCI for automated deployments.\n\n## 🕵️ Troubleshooting\n\nIf you encounter issues:\n\n- Check the logs with `docker-compose logs`.\n- Ensure all services are running properly.\n- Consult the official documentation for Docker, PHP, and MariaDB.\n\n## 🔧 FAQs\n\n**Q: How do I switch PHP versions?**\n\nYou can switch PHP versions by modifying the `Dockerfile` or the `docker-compose.yml` file to specify the desired PHP version.\n\n**Q: How do I persist my database?**\n\nUse Docker Volumes in your `docker-compose.yml` to ensure your database persists across container restarts.\n\n## 📈 Performance Tips\n\n- Optimize your Apache and PHP settings for better performance.\n- Use caching mechanisms like Redis to reduce database load.\n- Regularly update your dependencies.\n\n## 🌍 Community and Support\n\nFor support, consider checking GitHub issues or joining Docker and PHP forums for community-driven assistance.\n\n## 🔗 Links\n\n- [Docker Official Documentation](https://docs.docker.com/)\n- [PHP Official Documentation](https://www.php.net/docs.php)\n- [MariaDB Documentation](https://mariadb.com/kb/en/documentation/)\n\n---\n\nThank you for checking out the **Docker LAMPP Stack**! We hope it serves you well in your web development journey. Happy coding! 🎉\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffineg21%2Fdocker-lampp-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffineg21%2Fdocker-lampp-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffineg21%2Fdocker-lampp-stack/lists"}