{"id":13545740,"url":"https://github.com/JeroenBoersma/docker-compose-development","last_synced_at":"2025-04-02T16:30:48.037Z","repository":{"id":34425821,"uuid":"38358817","full_name":"JeroenBoersma/docker-compose-development","owner":"JeroenBoersma","description":"Clone and `bin/dev up`.  Quickly start of developing locally with Nginx, PHP, Blackfire, Percona, Mailhog and Redis. Out of the box support for Magento2 Developer Box","archived":false,"fork":false,"pushed_at":"2024-05-24T10:12:48.000Z","size":545,"stargazers_count":207,"open_issues_count":13,"forks_count":63,"subscribers_count":15,"default_branch":"development-docker-compose-2","last_synced_at":"2024-10-30T05:57:05.444Z","etag":null,"topics":["development","docker","docker-compose","docker-magento","docker-magento2","local-development","magento","magento-developer-box","magento2","mysql","php","php56","php70","php71","php72"],"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/JeroenBoersma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"docs/code-of-conduct.md","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":"2015-07-01T08:20:15.000Z","updated_at":"2024-10-26T00:06:30.000Z","dependencies_parsed_at":"2024-03-16T18:41:03.067Z","dependency_job_id":"224b91f6-606d-4142-a5a7-af7be19fd945","html_url":"https://github.com/JeroenBoersma/docker-compose-development","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenBoersma%2Fdocker-compose-development","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenBoersma%2Fdocker-compose-development/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenBoersma%2Fdocker-compose-development/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenBoersma%2Fdocker-compose-development/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeroenBoersma","download_url":"https://codeload.github.com/JeroenBoersma/docker-compose-development/tar.gz/refs/heads/development-docker-compose-2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222844220,"owners_count":17046213,"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":["development","docker","docker-compose","docker-magento","docker-magento2","local-development","magento","magento-developer-box","magento2","mysql","php","php56","php70","php71","php72"],"created_at":"2024-08-01T11:01:13.026Z","updated_at":"2024-11-03T12:31:12.085Z","avatar_url":"https://github.com/JeroenBoersma.png","language":"Shell","funding_links":[],"categories":["Shell","Plugins"],"sub_categories":["DevOps"],"readme":"# Installation\n## Prerequisites\nInstall docker engine and docker compose plugin, for more info check: https://docs.docker.com/engine/install/\n\n```bash\nsudo apt-get remove docker docker-engine docker.io containerd runc\nsudo apt-get update\nsudo apt-get install \\\n    ca-certificates \\\n    curl \\\n    gnupg \\\n    lsb-release\n\nsudo mkdir -p /etc/apt/keyrings\ncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg\n\necho \\\n  \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \\\n  $(lsb_release -cs) stable\" | sudo tee /etc/apt/sources.list.d/docker.list \u003e /dev/null\n\nsudo apt-get update\n\nsudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin\n```\n\n### Add user to the docker group and reboot\n```bash\nsudo usermod -aG docker ${USER}\nreboot\n```\n\n## Cloning\nhttps://github.com/JeroenBoersma/docker-compose-development/tree/development-docker-compose-2/\n\n```bash\ngit clone -b development-docker-compose-2 https://github.com/JeroenBoersma/docker-compose-development.git development\n\ncd development\nbin/dev setup\n# press enter a few times and read instructions\n# default php81\n# setup your needs (elasticsearch/rabbitmq/etcetera)\n# you can always run this again\n\n# adding to your profile to use `dev` commands\nbin/dev profile \u003e\u003e ~/.zshrc # or ~/.bashrc if you use bash\n```\n\nIf you just installed zsh and your shell isn't changing to zsh, try logging in and out.\n\n## Move the workspace directory to home\nTo avoid having the .git from the clone in your workspace, you can optionally move your workspace to your home directory.\n\n```bash\ncd\n\ndev down --remove-orphans\n\ndev volume rm workspace\nmkdir workspace\ndev volume workspace workspace\n\ncdw\ndev php-change php81 # if that's the default\n\ndev up\n```\n\n## Make MySQL persistent in your development directory (optional)\nThis will destroy all current databases\n\n```bash\ncd\ncd development\n\ndev down --remove-orphans\n\ndev volume rm mysql\nmkdir mysql\ndev volume mysql mysql\n\ndev setup # this will add your user and correct settings (press enter to everything)\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJeroenBoersma%2Fdocker-compose-development","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJeroenBoersma%2Fdocker-compose-development","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJeroenBoersma%2Fdocker-compose-development/lists"}