{"id":18309797,"url":"https://github.com/yinfuyuan/docker-lnmp","last_synced_at":"2026-04-12T05:34:19.189Z","repository":{"id":240763215,"uuid":"114463525","full_name":"yinfuyuan/docker-lnmp","owner":"yinfuyuan","description":"This is a php runtime environment which base on docker.","archived":false,"fork":false,"pushed_at":"2018-06-08T10:10:57.000Z","size":515,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T05:42:48.228Z","etag":null,"topics":["docker","docker-compose","lnmp","mysql","nginx","php"],"latest_commit_sha":null,"homepage":"https://github.com/yinfuyuan/docker-lnmp","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yinfuyuan.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":"2017-12-16T13:37:18.000Z","updated_at":"2018-06-08T10:10:59.000Z","dependencies_parsed_at":"2024-05-20T20:04:17.867Z","dependency_job_id":"de079a9f-357f-4f9f-a5b6-67b36a0541d7","html_url":"https://github.com/yinfuyuan/docker-lnmp","commit_stats":null,"previous_names":["yinfuyuan/docker-lnmp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yinfuyuan%2Fdocker-lnmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yinfuyuan%2Fdocker-lnmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yinfuyuan%2Fdocker-lnmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yinfuyuan%2Fdocker-lnmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yinfuyuan","download_url":"https://codeload.github.com/yinfuyuan/docker-lnmp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248033288,"owners_count":21036763,"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":["docker","docker-compose","lnmp","mysql","nginx","php"],"created_at":"2024-11-05T16:12:26.738Z","updated_at":"2025-12-30T23:05:09.418Z","avatar_url":"https://github.com/yinfuyuan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker lnmp\r\n\r\nThis is a PHP runtime environment which base on docker.\r\n\r\nThe services provided include but not limited to **nginx** **php** and **mysql**.\r\n\r\nIn future functions, plan to join _mongdb_ _redis_ and _ELK_ equal services.\r\n\r\nYou can run this software on linux or windows or mac, recommending use of x86_64 linux platforms.\r\n\r\nIf you run on a mac, please reference https://docs.docker.com/docker-for-mac/osxfs/#namespaces share you mount directory.\r\n\r\nI really want your feedback when you have problems encountered during use.\r\n\r\n## Dependencies\r\n\r\ngit version 1.8.3.1 or higher\r\n\r\ndocker version 17.09.0-ce or higher\r\n\r\ndocker-compose version 1.16.1 or higher\r\n\r\n## Get installed\r\n    \r\n    $ git clone https://github.com/yinfuyuan/docker-lnmp.git\r\n\r\n## Get started\r\n\r\n    $ docker-compose up -d\r\n    \r\n    # echo '127.0.0.1 www.example.com' \u003e\u003e /etc/hosts\r\n    \r\n    $ curl -i -X HEAD www.example.com\r\n\r\n## Configure\r\n\r\n### nginx\r\n    \r\nThe nginx config file at the directory /services/nginx/config/\r\nYou don't have to modify nginx.con, if you want to add some domains.\r\nYou can copy /services/nginx/config/conf.d/example.conf to a new file.\r\nChange this file and exec the following commands to make it effective.\r\n\r\n    # docker-compose restart nginx \r\n    \r\n### others\r\n\r\nBy default, the services config file are both at /services/[service]/config/ directory.\r\nYou can modify the config files accordingly to your needs.\r\n\r\n## Features\r\n\r\n* All configuration files are mounted outside the container.\r\n\r\n## Recommending usage\r\n\r\n* All the /volumes/ files both should be soft links to external files.\r\n* /volumes/application/http use domain name upside down tree.\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyinfuyuan%2Fdocker-lnmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyinfuyuan%2Fdocker-lnmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyinfuyuan%2Fdocker-lnmp/lists"}