{"id":19631139,"url":"https://github.com/andrescdo/php-docker","last_synced_at":"2026-04-08T21:31:43.284Z","repository":{"id":77842903,"uuid":"482880460","full_name":"AndresCdo/php-docker","owner":"AndresCdo","description":"This repository contains a Docker Compose setup for a PHP-Apache-MySQL environment.","archived":false,"fork":false,"pushed_at":"2024-07-31T19:05:41.000Z","size":476,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T07:33:36.013Z","etag":null,"topics":["apache","docker","docker-compose","mysql","php"],"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/AndresCdo.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-18T14:38:56.000Z","updated_at":"2024-07-31T19:06:24.000Z","dependencies_parsed_at":"2024-07-31T22:31:25.751Z","dependency_job_id":"608c0f2b-fd05-46c4-b715-1b442e1432f4","html_url":"https://github.com/AndresCdo/php-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndresCdo/php-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresCdo%2Fphp-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresCdo%2Fphp-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresCdo%2Fphp-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresCdo%2Fphp-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndresCdo","download_url":"https://codeload.github.com/AndresCdo/php-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresCdo%2Fphp-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["apache","docker","docker-compose","mysql","php"],"created_at":"2024-11-11T12:08:08.663Z","updated_at":"2026-04-08T21:31:43.262Z","avatar_url":"https://github.com/AndresCdo.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP-Apache-MySQL Docker Environment\n\nThis repository contains a Docker Compose setup for a PHP-Apache-MySQL environment.\n\n## Prerequisites\n\n- Docker\n- Docker Compose\n\n## Getting Started\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/andrescdo/php-apache-mysql-docker.git\ncd php-apache-mysql-docker\n```\n\n### Build and Start the Containers\n\n```bash\ndocker-compose up -d\n```\n\n### Access the Application\n\n- PHP-Apache [http://localhost:8080](http://localhost:8080).\n- MySQL [http://localhost:8081](http://localhost:8081).\n\n## Configuration\n\n### PHP-Apache\n\nThe PHP-Apache server is configured to serve files from the `src` directory. You can place your PHP files in this directory.\n\n### MySQL\n\nThe MySQL configuration file is located in `./mysql/my.cnf`. You can change the configuration in this file.\nThe MySQL server is configured with the following environment variables:\n\n- `MYSQL_ROOT_PASSWORD`: The password for the `root` user.\n- `MYSQL_DATABASE`: The name of the default database.\n- `MYSQL_USER`: The name of the default user.\n- `MYSQL_PASSWORD`: The password for the default user.\n\nYou can change these values in the `docker-compose.yml` file.\n\n## Cleanin Up\n\nTo stop and remove the containers, run the following command:\n\n```bash\ndocker-compose down\n```\n\nTo remove the MySQL data, run the following command:\n\n```bash\nrm -rf mysql/data\n```\n\n## License\n\nThis project is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrescdo%2Fphp-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrescdo%2Fphp-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrescdo%2Fphp-docker/lists"}