{"id":20575311,"url":"https://github.com/dimabory/docker-starter-pack","last_synced_at":"2026-03-10T06:04:06.744Z","repository":{"id":99869657,"uuid":"140587986","full_name":"dimabory/docker-starter-pack","owner":"dimabory","description":"Docker quick starter pack for PHP applications","archived":false,"fork":false,"pushed_at":"2018-07-11T15:03:38.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T10:54:55.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/dimabory.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":"2018-07-11T14:35:07.000Z","updated_at":"2018-07-11T15:05:01.000Z","dependencies_parsed_at":"2023-05-10T20:15:39.313Z","dependency_job_id":null,"html_url":"https://github.com/dimabory/docker-starter-pack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimabory/docker-starter-pack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fdocker-starter-pack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fdocker-starter-pack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fdocker-starter-pack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fdocker-starter-pack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimabory","download_url":"https://codeload.github.com/dimabory/docker-starter-pack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fdocker-starter-pack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: 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":[],"created_at":"2024-11-16T05:38:51.734Z","updated_at":"2026-03-10T06:04:06.727Z","avatar_url":"https://github.com/dimabory.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Starter Pack\n\nThis [Docker Compose] powered development environment includes:\n\n  * PHP 7.2 FPM container with app, CLI tools, and Xdebug\n  * Nginx web server, serving php app\n  * MySQL database\n  * Composer\n\n## Installation\n\nDocker Platform can be installed on Windows, Mac, or Linux from [their website](https://www.docker.com/products/overview). Once installed it will run as a background process, and the versions can be checked at the command line:\n\n```\n$ docker -v\n$ docker-compose -v\n```\n\n### Configuring the environment\n\nThe [.env.dist](./.env.dist) file found in the root folder should be copied to `.env`, which is ignored by Git. The local web ports default to `8080` for the app.\n\n```\n# Copy default environment settings\n$ cp .env.dist .env\n```\n\nThis file contains an evolving set of options for database connections, web ports, [Xdebug](https://xdebug.org/) setttings to connect your IDE, and more to come.\n\n### Environment Status\n\nYou can list running containers by running the `docker-compose ps` command.\n\n| Name            | Command | State | Ports                       |\n| --------------- | ------- | ----- | --------------------------- |\n| nginx | nginx   | Up    | 443/tcp, 0.0.0.0:80-\u003e80/tcp |\n| php-fpm   | php-fpm | Up    | 0.0.0.0:9000-\u003e9000/tcp      |\n| mysql   | docker-entrypoint.sh mysqld | Up    | 0.0.0.0:3307-\u003e3306/tcp      |\n| composer   |  /docker-entrypoint.sh comp ... | Exit 0 |  |\n\n## What's Running?\n\n### PHP\n\nPHP 7.2 FPM, based on the official [php:7.2-fpm](https://hub.docker.com/_/php/) image. The following system-wide tools are included in addition to the base packages:\n * Composer\n * GIT\n * VIM\n * etc\n\nAdditionally, PHP includes following extensions:\n * Opcache\n * MySQL\n * etc\n\n### Nginx\n\nNginx 1.7 is installed with apt-get on the [debian:jessie] base image.\n\n### Composer\n\nComposer is a dependency manager written in and for PHP. \nIt runs `composer install` on each container building.\n\nRunning composer command (e.g. `composer update`):\n```bash\n$ docker-compose run --rm --user $(id -u):$(id -g) --entrypoint \"composer update\" composer\n```\n\n## Misc commands\n\n```\n# Stop and remove all containers\n$ docker stop $(docker ps -a -q)\n$ docker rm $(docker ps -a -q)\n\n# Delete all images\n$ docker rmi $(docker images -q)\n\n# Remove unused data\n$ docker system prune\n```\n\n**How to run tests inside container?**\n\n```bash\ndocker-compose run --rm --entrypoint \"./vendor/bin/simple-phpunit\" app\n```\n\n[debian:jessie]: https://hub.docker.com/_/debian/\n[Docker Compose]: https://docs.docker.com/compose/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimabory%2Fdocker-starter-pack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimabory%2Fdocker-starter-pack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimabory%2Fdocker-starter-pack/lists"}