{"id":18431295,"url":"https://github.com/zhan3333/nmpr","last_synced_at":"2025-04-13T22:57:52.671Z","repository":{"id":102225072,"uuid":"181586251","full_name":"zhan3333/nmpr","owner":"zhan3333","description":"Docker 快速运行起 LNMP 运行环境 / Quickly run thr MySQL + PHP + Nginx + Redis  environment","archived":false,"fork":false,"pushed_at":"2021-05-05T17:35:53.000Z","size":13011,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T22:57:43.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"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/zhan3333.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":"2019-04-16T00:38:55.000Z","updated_at":"2021-10-20T02:35:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"874ba6b7-008f-4baf-831f-f4d263a61af8","html_url":"https://github.com/zhan3333/nmpr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Fnmpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Fnmpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Fnmpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Fnmpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhan3333","download_url":"https://codeload.github.com/zhan3333/nmpr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794571,"owners_count":21162614,"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":[],"created_at":"2024-11-06T05:24:15.882Z","updated_at":"2025-04-13T22:57:52.647Z","avatar_url":"https://github.com/zhan3333.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker run MySQL+ PHP + Nginx + Redis\n\n- PHP\n  - Version: 7.4.9\n  - Expansions\n    - mongodb\n    - swoole\n    - redis\n  - Composer\n  - Tool\n    - tailf\n    - busybox\n    - htop\n- MYSQL\n  - Version: 8.0+\n- Redis\n  - Version: 4.2\n- Nginx\n  - Version: alpine\n\n## Quick start\n\nYou need to install `docker` first. `https://docs.docker.com/docker-for-windows/install/`\n\nYou PC:\n\n```shell\n$ git clone git@github.com:zhan3333/nmpr.git\n$ cd nmpr\n$ cp .env.example .env\n$ vim .env\n---\n# USER_NAME=zhan\n# USER_PASSWORD=zhan\n---\n$ docker-compose up -d\n```\n\nOK! Now you can open `http://localhost`\n\n## Add a virtual host\n\nDocker nginx: add new vhost\n\n```shell\n$ cd /work/components/nginx/config/conf.d\n$ cp localhost.conf you_vhost.conf\n$ vim you_vhost.conf\n```\n\nYou PC: reload nginx\n\n```shell\n$ docker exec nginx /etc/init.d/nginx reload\n```\n\n## Config file\n\n- Work dir: `docker-compose.yml`\n- MySQL: `./mysql/mysql.cnf`\n- Nginx `./work/components/nginx/config/nginx.conf`\n- PHP `./work/components/php/config/php.ini`\n\n## Setting\n\n### Use php command in system\n\n## Want to help?\n\nAuthor: `zhan`\n\nEmail to: `grianchan@gmail.com`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhan3333%2Fnmpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhan3333%2Fnmpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhan3333%2Fnmpr/lists"}