{"id":15024115,"url":"https://github.com/beardocker/imdock-cnp56","last_synced_at":"2025-04-09T20:02:26.850Z","repository":{"id":108809000,"uuid":"88881332","full_name":"BearDocker/imdock-cnp56","owner":"BearDocker","description":"php5.6 + nginx (laravel5)","archived":false,"fork":false,"pushed_at":"2017-08-04T23:33:09.000Z","size":35,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T20:02:11.867Z","etag":null,"topics":["docker","docker-compose","dockerfile","laravel","nginx","php-framework","php56","xdebug"],"latest_commit_sha":null,"homepage":null,"language":"Nginx","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:26:49.000Z","updated_at":"2022-02-02T15:09:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6017624-0f03-422e-83e1-d591bcd694b1","html_url":"https://github.com/BearDocker/imdock-cnp56","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-cnp56","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BearDocker%2Fimdock-cnp56/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BearDocker%2Fimdock-cnp56/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BearDocker%2Fimdock-cnp56/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BearDocker","download_url":"https://codeload.github.com/BearDocker/imdock-cnp56/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103865,"owners_count":21048245,"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","php-framework","php56","xdebug"],"created_at":"2024-09-24T19:59:49.119Z","updated_at":"2025-04-09T20:02:26.815Z","avatar_url":"https://github.com/BearDocker.png","language":"Nginx","funding_links":[],"categories":[],"sub_categories":[],"readme":"imdock-cnp56\n====================================================\n\n## What's this:\n\nCentos(Nginx + PHP5.6)\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    \n## How to install:\n\n    ~ $ mkdir {project-name}\n    ~ $ cd {project-name}\n    ~/{project-name} $ git clone https://github.com/imagine10255/imdock-cnp56.git\n    ~/{project-name} $ cd imdock-cnp56\n\n\n#### change your custom settting (container_name: {project-name})\n\n    ~/{project-name}/imdock-cnp56 $ vim ./docker-compose-yml\n    ~/{project-name}/imdock-cnp56 $ 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-cnp56 $ 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-cnp56 $ vim ./docker-compose-yml\n    ~/{project-name}/imdock-cnp56 $ vim ./default.vhost\n    ~/{project-name}/imdock-cnp56 $ docker-compose up -d\n\n\n## Reference architecture:\n\n```txt\n{project-name}\n├── imdock-cnp56\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            \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    \n## How to change setting:\n\n  * You just look at this directory you will understand (config/*)\n    \n  * When the settings are complete, restart the container\n    \n## PHP Extend:\n- [x] PHP5.6\n  - [x] mbstring\n  - [x] mcrypt\n  - [x] php-dom, php-domxml, php-wddx, php-xsl\n  - [x] php-mysqli, php_database\n  - [ ] mongodb\n  - [ ] redis\n  - [ ] pgsql\n  - [x] php-mssql\n  - [x] php56w-pdo_sqlite, php56w-sqlite3\n  - [ ] apcu\n  - [x] gd\n  - [ ] imap  \n  - [x] imagick\n  - [x] zend-opcache\n  - [x] memcache\n  - [x] xdebug\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeardocker%2Fimdock-cnp56","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeardocker%2Fimdock-cnp56","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeardocker%2Fimdock-cnp56/lists"}