{"id":16811905,"url":"https://github.com/qishibo/alpine-lnmp","last_synced_at":"2025-04-11T01:42:58.161Z","repository":{"id":72149371,"uuid":"115322089","full_name":"qishibo/alpine-lnmp","owner":"qishibo","description":"Pure lnmp environment running in docker, based on alpine, total size is only 200MB and compressed size is only 70MB.","archived":false,"fork":false,"pushed_at":"2020-02-15T07:35:19.000Z","size":9,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T22:51:18.631Z","etag":null,"topics":["alpine","docker","lnmp-environment"],"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/qishibo.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":"2017-12-25T08:40:14.000Z","updated_at":"2025-02-13T09:35:52.000Z","dependencies_parsed_at":"2023-02-25T11:00:35.870Z","dependency_job_id":null,"html_url":"https://github.com/qishibo/alpine-lnmp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qishibo%2Falpine-lnmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qishibo%2Falpine-lnmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qishibo%2Falpine-lnmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qishibo%2Falpine-lnmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qishibo","download_url":"https://codeload.github.com/qishibo/alpine-lnmp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248327653,"owners_count":21085256,"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":["alpine","docker","lnmp-environment"],"created_at":"2024-10-13T10:20:00.989Z","updated_at":"2025-04-11T01:42:58.156Z","avatar_url":"https://github.com/qishibo.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alpine lnmp\n\n\u003e Pure lnmp environment running in docker, based on alpine, total size is only 200MB and compressed size is only 70MB.\n\nhitherto 2019.05.27 versions:\n\n - nginx 1.16.0\n - php 7.2.18\n - mysql 10.3.15-MariaDB\n\n## PHP Extensions\n\n- php7-ctype\n- php7-curl\n- php7-dom\n- php7-exif\n- php7-fileinfo\n- php7-gd\n- php7-gettext\n- php7-iconv\n- php7-imagick\n- php7-json\n- php7-mbstring\n- php7-mcrypt\n- php7-memcached\n- php7-mysqli\n- php7-mysqlnd\n- php7-opcache\n- php7-openssl\n- php7-pcntl\n- php7-pdo\n- php7-pdo_mysql\n- php7-pdo_pgsql\n- php7-pdo_sqlite\n- php7-posix\n- php7-redis\n- php7-session\n- php7-simplexml\n- php7-sockets\n- php7-sqlite3\n- php7-xml\n- php7-xmlwriter\n- php7-zli\n- php7-fpm\n\n\n## Usage\n\n### Basic\n\n```bash\n# pull the image\ndocker pull qii404/alpine-lnmp\n\n# default index.php is phpinfo if without '-v'\ndocker run -itd -p80:80 -p3306:3306 --name alpine-lnmp qii404/alpine-lnmp:latest\n```\n\nview [http://localhost](http://localhost) after two minutes [mysql is initing while starting...], you will see yours\n\n![phpinfo](https://imgup.qii404.xyz/71405cably1g3ftuz528lj20qf0ll0wx.jpg)\n\n -------\n\n### Mount your code\n\n```bash\n# mount your application code\ndocker run -itd -p80:80 -p3306:3306 -v /Your-Code-Path:/usr/share/nginx/html --name alpine-lnmp qii404/alpine-lnmp:latest\n```\n\n### Mysql\n\n\u003e user:`root`    password:`root`\n\n```bash\n# connect\nmysql -h 127.0.0.1 -uroot -proot\n\n# if you want to mount my.cnf yourself\ndocker run -v my.cnf:/etc/mysql/my.cnf ...\n\n# if you want to mount mysql datadir\ndocker run -v /your_data_dir/:/var/lib/mysql/ ...\n```\n\n### Nginx\n\n\u003e root path: `/usr/share/nginx/html`\n\n```bash\n# if you want to mount your nginx.conf\ndocker run -v nginx.conf:/etc/nginx/nginx.conf ...\n\n# if you want to add more nginx conf to conf.d\ndocker run -v /your_conf.d/:/etc/nginx/conf.d/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqishibo%2Falpine-lnmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqishibo%2Falpine-lnmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqishibo%2Falpine-lnmp/lists"}