{"id":19302769,"url":"https://github.com/arifulhb/lempdock","last_synced_at":"2025-04-22T11:31:52.989Z","repository":{"id":152317972,"uuid":"175459698","full_name":"arifulhb/lempdock","owner":"arifulhb","description":"Docker image for LEMP Stack development. Includes Debian, PHP7.2, Composer, Nginx, MySQL 5.7, Git, Nodejs, Npm","archived":false,"fork":false,"pushed_at":"2019-03-30T17:44:31.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T22:46:50.937Z","etag":null,"topics":["container","devops","docker","lemp","mysql","nginx","php-fpm","php7","php72"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/arifulhb.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-13T16:33:46.000Z","updated_at":"2021-04-12T08:25:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"5dfc16af-3501-4ca1-8914-7142c61abef0","html_url":"https://github.com/arifulhb/lempdock","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifulhb%2Flempdock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifulhb%2Flempdock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifulhb%2Flempdock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifulhb%2Flempdock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arifulhb","download_url":"https://codeload.github.com/arifulhb/lempdock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250232124,"owners_count":21396576,"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":["container","devops","docker","lemp","mysql","nginx","php-fpm","php7","php72"],"created_at":"2024-11-09T23:23:45.465Z","updated_at":"2025-04-22T11:31:52.936Z","avatar_url":"https://github.com/arifulhb.png","language":"Dockerfile","readme":"# LEMP Dock\nA docker image for LEMP Stack Development\n\n[![LEMP DockClone Counter](https://img.shields.io/github/downloads/arifulhb/lempdock/total.svg)]()\n\n## Installation / Usage\n\nRun following commands to clone the repo, build and run LEMP Dock docker image.\n\n    git clone git@github.com:arifulhb/lempdock.git lemptdock\n    cd lempdock\n    lemp/build\n    lemp/run\n    \n### Usage\n- Build the docker image : \n    - Use command `lemp/build` to build the lempdock image.\n- Run the docker image: \n    - Use command `lemp/run` to run the containers\n- Stop the container:\n    - `lemp/stop` to stop the containers\n- SSH to `php-fpm` container\n    - `lemp/ssh` and you'll be in `/var/www` directory of `php-fpm` container.\n    \n\n## Included Softwares:\n1. Debian `9.8` / stretch OS\n2. PHP `7.2`\n3. Nginx\n4. MySQL `5.7`\n5. Compose `1.8` for PHP Package Management\n6. Nodejs `10.15`\n7. NPM `6.4`\n8. git `2.11`\n\n\n## Documentation\n### PHP-FPM\nAdd your source code in `www` directory and this source code will be available in your `php-fpm` and `nginx` containers `/var/www` diectory.\n### Nginx\nTo add a new site in your LEMP Dock, you need to add a new nginx config file in `images/nginx/sites/` directory. \nCreate a copy of the `images/nginx/sites/default.conf` file and edit `server_name` and `root` according to your application.\n \n### MySQL\n##### Default settings to connect from SequelPro or MySQL Workbench   \n\n    host: 127.0.0.1\n    user: root\n    pass: root\n    port: 33066\n\n\n##### Default settings to connect from PHP App inside `php-fpm` container\n    \n    host: mysql\n    port: 3306\n    user: root\n    pass: root","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farifulhb%2Flempdock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farifulhb%2Flempdock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farifulhb%2Flempdock/lists"}