{"id":22666865,"url":"https://github.com/beardocker/imdock-cnp71","last_synced_at":"2025-04-12T09:53:36.874Z","repository":{"id":108808996,"uuid":"88881678","full_name":"BearDocker/imdock-cnp71","owner":"BearDocker","description":"php7.1 + Nginx (laravel5.6)","archived":false,"fork":false,"pushed_at":"2018-09-01T13:58:04.000Z","size":43,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T09:53:27.036Z","etag":null,"topics":["docker","docker-compose","dockerfile","laravel","nginx","nginx-php","php","php-framework","php7-nginx","xdebug"],"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/BearDocker.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-04-20T15:29:57.000Z","updated_at":"2022-02-02T15:15:14.000Z","dependencies_parsed_at":"2023-07-17T18:09:07.691Z","dependency_job_id":null,"html_url":"https://github.com/BearDocker/imdock-cnp71","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/BearDocker%2Fimdock-cnp71","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BearDocker%2Fimdock-cnp71/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BearDocker%2Fimdock-cnp71/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BearDocker%2Fimdock-cnp71/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BearDocker","download_url":"https://codeload.github.com/BearDocker/imdock-cnp71/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550636,"owners_count":21122932,"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","dockerfile","laravel","nginx","nginx-php","php","php-framework","php7-nginx","xdebug"],"created_at":"2024-12-09T14:20:46.643Z","updated_at":"2025-04-12T09:53:36.866Z","avatar_url":"https://github.com/BearDocker.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"imdock-cnp7\n====================================================\n\n## What's this:\n\nCentos(Nginx + PHP7.1)\n\n  * you can easy install PHP Framework (ex: Laravel)\n\n  * you can use xdebug mode by PHPStorm(2016.2 or latest)\n\n  * this project use management by docker-compose\n  \n  * you can use this for Laravel-5 PHP Framework\n\n## How to install:\n\n    ~ $ mkdir {project-name}\n    ~ $ cd {project-name}\n    ~/{project-name} $ git clone https://github.com/imagine10255/imdock-cnp7.git\n    ~/{project-name} $ cd imdock-cnp7\n\n\n#### change your custom settting (container_name: {project-name})\n\n    ~/{project-name}/imdock-cnp7 $ vim ./docker-compose-yml\n    ~/{project-name}/imdock-cnp7 $ docker-compose up\n    \n#### open browser, testing your host-ip, see the phpinfo is success! ctrl+c close this\n#### now, you can move the your project to website dir\n    \n    ~/{project-name}/imdock-cnp7 $ cp ./sites-enable/default.vhost.sample ./sites-enable/default.vhost\n    \n#### setting your custom nginx config (volumes: ./website:/var/www → ../{project-dir}:/var/www)\n\n    ~/{project-name}/imdock-cnp7 $ vim ./docker-compose-yml\n    ~/{project-name}/imdock-cnp7 $ vim ./default.vhost\n    ~/{project-name}/imdock-cnp7 $ docker-compose up -d\n\n\n## Reference architecture:\n\n```txt\n{project-name}\n├── imdock-cnp7\n│   ├── conf/\n│   ├── sites-enable/(nginx website setting)\n│   ├── sites-module/\n│   ├── website(sample phpinfo)\n│   ├── Dockerfile\n│   └── docker-compose.yml\n└── {project-dir}\n    └── ...\n```\n## How to and other docker-compose use the same network :\n\n    #if you not have group network, you can create this, and other docker-compose use this network setting\n    ~ $ docker network create --driver bridge imdockgroup\n    \n## How to change setting:\n\n  * You just look at this directory you will understand (cnp7/config/*)\n    \n  * When the settings are complete, restart the container\n    \n## PHP Extend:\n\n- [x] PHP7\n  - [x] mbstring\n  - [x] mcrypt\n  - [x] php-dom, php-domxml, php-wddx, php-xslxml, xmlrpc\n  - [x] php-mysqli, php_database\n  - [x] mongodb\n  - [x] redis\n  - [x] pgsql\n  - [ ] php-mssql  \n  - [x] php71w-pdo_sqlite, php71w-sqlite3\n  - [x] apcu\n  - [x] gd\n  - [x] imap\n  - [ ] imagick\n  - [x] zend-opcache\n  - [ ] memcache\n  - [ ] xdebug\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeardocker%2Fimdock-cnp71","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeardocker%2Fimdock-cnp71","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeardocker%2Fimdock-cnp71/lists"}