{"id":18412931,"url":"https://github.com/skrajewski/php-app-on-docker","last_synced_at":"2026-05-09T00:05:36.616Z","repository":{"id":82586261,"uuid":"108997320","full_name":"skrajewski/php-app-on-docker","owner":"skrajewski","description":"My base docker-compose definition for building php apps","archived":false,"fork":false,"pushed_at":"2018-10-08T16:40:52.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T23:47:38.845Z","etag":null,"topics":["docker","docker-compose","php"],"latest_commit_sha":null,"homepage":null,"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/skrajewski.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":"2017-10-31T13:10:40.000Z","updated_at":"2019-09-16T09:09:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e345c71-5008-4d0c-959d-4a14b829bc7b","html_url":"https://github.com/skrajewski/php-app-on-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrajewski%2Fphp-app-on-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrajewski%2Fphp-app-on-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrajewski%2Fphp-app-on-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrajewski%2Fphp-app-on-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skrajewski","download_url":"https://codeload.github.com/skrajewski/php-app-on-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"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":["docker","docker-compose","php"],"created_at":"2024-11-06T03:44:07.906Z","updated_at":"2026-05-09T00:05:36.296Z","avatar_url":"https://github.com/skrajewski.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP App on Docker\n\nThis is my base `docker-compose.yml` definition to start work with a PHP project. It's based on an [article from my blog](https://szymonkrajewski.pl/set-up-muti-container-environment-using-docker-compose/). This repository has the framework-agnostic nginx setup – you have to change the vhost configuration to run e.g. Symfony framework. Additionaly, we mount an external `php.ini` file to the `php-fpm` container.\n\n```sh\ndocker-compose up -d\n```\n\n## What is inside?\n\n* PHP 7.2\n  * iconv \n  * mcrypt \n  * mysqli \n  * pdo_mysql \n  * mbstring \n  * intl\n* nginx 1.11\n* MariaDB 10\n  * default database: `app`\n  * root password: `root`\n\n### Exposed ports:\n\n* nginx:80 -\u003e 8080\n* db:3306 -\u003e 33060\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskrajewski%2Fphp-app-on-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskrajewski%2Fphp-app-on-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskrajewski%2Fphp-app-on-docker/lists"}