{"id":22056840,"url":"https://github.com/letsjump/yii2-dockerpocket","last_synced_at":"2026-04-10T02:03:05.950Z","repository":{"id":86704952,"uuid":"121849828","full_name":"letsjump/yii2-dockerpocket","owner":"letsjump","description":"A docker ecosystem made for Yii2 application with composer and xdebug","archived":false,"fork":false,"pushed_at":"2018-02-18T10:33:32.000Z","size":18276,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T22:31:02.362Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/letsjump.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":"2018-02-17T11:29:19.000Z","updated_at":"2020-08-04T06:57:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"5dfd0795-1992-475a-be21-58c2558b501b","html_url":"https://github.com/letsjump/yii2-dockerpocket","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/letsjump%2Fyii2-dockerpocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsjump%2Fyii2-dockerpocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsjump%2Fyii2-dockerpocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsjump%2Fyii2-dockerpocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letsjump","download_url":"https://codeload.github.com/letsjump/yii2-dockerpocket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245128744,"owners_count":20565328,"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-30T16:14:58.408Z","updated_at":"2025-10-03T13:23:05.495Z","avatar_url":"https://github.com/letsjump.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yii2-dockerpocket\nA set of preconfigured Docker servers made to work with your Yii2 advanced application framework or other PHP frameworks.\n\nIt includes:\n- A webserver (PHP7.1, Apache2.4, composer, xdebug)\n- A Database server (Mysql 5.5)\n- A Redis server\n- A shared folder between servers\n\n## How to use it\n\n1. install docker\n1. open `docker-compose.yml` and fill `GITHUB_API_TOKEN`, `MYSQL_DATABASE`, `MYSQL_USER`, `MYSQL_PASSWORD` with your own data\n1. launch your server by `docker-composer up` (add `-d` to run it in the background)\n1. copy / pull your yii2 application (o create a new one) inside `application` folder\n1. launch the init script by entering in the web-server bash (see above)\n\n## how to reach your servers\n\n- access your website by browser here http://172.17.0.3\n- access your webserver console by running `docker exec -it DKP_Web_Server bash`\n- access your database console by running `docker exec -it DKP_Database_Server bash`\n- access your redis console by running `docker exec -it DKP_Redis_Server bash`\n\n## Configuration access\n\nThe `docker-data` folder contains a folder for each server. You can find some configuration files inside it:\n- Apache2 virtualhosts: `./docker-data/web-server/etc/apache2/sites/available/000-default.config`\n- MySql configuration: `./docker-data/db-server/etc/mysql/my.cnf`\n\n## Access the database\nThe database connection is set on __IP address 172.17.0.2__, port 3306. The credentials are setted in `docker-compose.yml`\nSince I prefer MySql Workbench to PhpMyAdmin, I haven't included it in the configuration.\n\nYou can include it by follow the instructions explained [here](https://hub.docker.com/r/phpmyadmin/phpmyadmin/), or by download a Mysql desktop client like [MySql Workbenck](https://dev.mysql.com/downloads/workbench/).\n\n## Use the shared folder\nAny file in `./docker-data/shared-folder/` will be visible in the `/root/backup/` folder of each instanced server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsjump%2Fyii2-dockerpocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletsjump%2Fyii2-dockerpocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsjump%2Fyii2-dockerpocket/lists"}