{"id":25823397,"url":"https://github.com/saada/docker-compose-php-mysql","last_synced_at":"2025-02-28T11:54:10.232Z","repository":{"id":30425443,"uuid":"33978383","full_name":"saada/docker-compose-php-mysql","owner":"saada","description":"PHP environment setup using Docker Compose on OSX","archived":false,"fork":false,"pushed_at":"2016-04-18T17:24:00.000Z","size":1,"stargazers_count":30,"open_issues_count":0,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-03-23T22:21:27.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/saada.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}},"created_at":"2015-04-15T06:58:53.000Z","updated_at":"2022-07-16T23:07:48.000Z","dependencies_parsed_at":"2022-08-03T15:13:58.087Z","dependency_job_id":null,"html_url":"https://github.com/saada/docker-compose-php-mysql","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-compose-php-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-compose-php-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-compose-php-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-compose-php-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saada","download_url":"https://codeload.github.com/saada/docker-compose-php-mysql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241146139,"owners_count":19917570,"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":"2025-02-28T11:54:09.553Z","updated_at":"2025-02-28T11:54:10.225Z","avatar_url":"https://github.com/saada.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Compose PHP+MYSQL on OSX\n\nThis setup is great for writing quick apps in PHP from an OSX machine. It uses Virtualbox and machine to create the actual environment and then uses compose to setup the application services\n\n\n### Install docker, compose, and machine\n\n```\nbrew update\nbrew install docker docker-compose docker-machine\n```\n\n\n### InstallVirtualbox\n[Download Virtualbox](https://www.virtualbox.org/wiki/Downloads)\n\n### Setup docker environment\n\n```\ndocker-machine create -d virtualbox dev\ndocker-machine start dev\neval $(docker-machine env dev)\n```\n\n### Build \u0026 Run!\n\n```\ndocker-compose build\ndocker-compose up -d\n```\nyou can now start writing your app!\n\n### Stop\n\n```\ndocker-compose kill\n```\n\n### MySQL\n\nCheck out `app/index.php` for getting credentials from the ENV variables.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaada%2Fdocker-compose-php-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaada%2Fdocker-compose-php-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaada%2Fdocker-compose-php-mysql/lists"}