{"id":19548257,"url":"https://github.com/vasu7052/docker-lemp-stack","last_synced_at":"2025-08-16T12:26:59.573Z","repository":{"id":198763662,"uuid":"141274628","full_name":"Vasu7052/Docker-LEMP-Stack","owner":"Vasu7052","description":"This is a project for creating LEMP Stack in one command through docker","archived":false,"fork":false,"pushed_at":"2018-10-23T15:06:39.000Z","size":577,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T06:30:26.548Z","etag":null,"topics":["docker","docker-compose","docker-container","docker-image","lemp-stack","mysql","nginx","php","php7","phpmyadmin"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vasu7052.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-07-17T10:38:42.000Z","updated_at":"2018-10-23T15:06:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f9c823a-f6c3-4843-9020-73730ad09668","html_url":"https://github.com/Vasu7052/Docker-LEMP-Stack","commit_stats":null,"previous_names":["vasu7052/docker-lemp-stack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vasu7052/Docker-LEMP-Stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vasu7052%2FDocker-LEMP-Stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vasu7052%2FDocker-LEMP-Stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vasu7052%2FDocker-LEMP-Stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vasu7052%2FDocker-LEMP-Stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vasu7052","download_url":"https://codeload.github.com/Vasu7052/Docker-LEMP-Stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vasu7052%2FDocker-LEMP-Stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270709057,"owners_count":24631992,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["docker","docker-compose","docker-container","docker-image","lemp-stack","mysql","nginx","php","php7","phpmyadmin"],"created_at":"2024-11-11T03:55:19.112Z","updated_at":"2025-08-16T12:26:59.409Z","avatar_url":"https://github.com/Vasu7052.png","language":"Python","readme":"# Docker Complete LEMP Stack \n\n\n## Introduction\n* I have created this project so that it can be used for running PHP projects without using any third party softwares like XAMPP or Wampp Servers/Softwares.\n* The nice thing about this project is that you can easily work on multiple projects on your machine, each one having different dependencies without them clashing.\n* The docker files consists of containers of Nginx Server(with PHP modules alredy setup), MYSQL Server and a Phpmyadmin Server thereby completing a whole LEMP Stack. All these containers are in CentOS and Debian based Operating System.\n* It is capable of running Php, Flask, Django and Node applications.\n\n## Installation\n\n* Run install_docker.sh for install docker as well as docker-compose (if not installed)\n\n## Usage\n\n1. Adding Project in application:\n\n* For PHP projects -\u003e add your folder in ./PhpFiles root folder. \n\n* For Flask projects -\u003e add your folder in ./FlaskFiles root folder.\n \n* For Django projects -\u003e add your folder in ./DjangoFiles root folder. \n\n* For Node projects -\u003e add your folder in ./NodeFiles root folder. \n\n2. My docker configurations will automatically mount your project files to their respective containers.\n\n3. Change Directory in ```docker``` folder.\n\n4. Run Command in this dir ```docker-compose up``` or ```docker-compose up -d``` for background and you are good to go...\n\n### Demo Projects\n\nI have added a demo projects for all technologies. To test it, run the above commands and then hit these urls\n\n* For PHP : ```http://localhost/Demo/index.php``` \n* For Flask : ```http://localhost:81``` \n* For Django : ```http://localhost:82``` \n* For Node : ```http://localhost:83``` \n\n## Default Running Ports\n\n* NGINX: ```80```\n* Flask Server: ```81```\n* Django Server: ```82```\n* Node Server: ```83```\n* PHP: ```9000```\n* MYSQL: ```3306```\n* PHPMYADMIN: ```8080```\n\n## Configs\n\n* Nginx configs are in ```./docker/nginx/``` folder\n* PHP configs are in ```./docker/php/``` folder\n\n## Container Names\n\n* docker_nginx\n* docker_flask\n* docker_django\n* docker_node\n* docker_mysql\n* docker_phpmyadmin\n\n## Logs\n\n* Nginx Logs are in ```./docker/logs/``` folder\n* other logs can be seen by running command ```docker logs container_name -f```\n\n### Note\n\n* Host for MYSQL server is ```docker_mysql:3306``` , default user and password are ```user_root``` for both (You can change them accordingly)\n* Make Sure above mentioned ports are not already used. If yes, then either free that port or change the port in docker-compose.yml file\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasu7052%2Fdocker-lemp-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvasu7052%2Fdocker-lemp-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasu7052%2Fdocker-lemp-stack/lists"}