{"id":19053854,"url":"https://github.com/mkurc1/docker-symfony","last_synced_at":"2026-04-13T04:41:33.932Z","repository":{"id":225388919,"uuid":"92327906","full_name":"mkurc1/docker-symfony","owner":"mkurc1","description":"Complete Docker stack for developing Symfony application.","archived":false,"fork":false,"pushed_at":"2019-02-23T23:30:44.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T16:25:55.923Z","etag":null,"topics":["docker","docker-compose","docker-symfony","mysql","nginx","php7","symfony","symfony-docker"],"latest_commit_sha":null,"homepage":"https://bitapp.pl","language":"Dockerfile","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/mkurc1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-05-24T19:16:54.000Z","updated_at":"2019-02-23T23:30:45.000Z","dependencies_parsed_at":"2024-03-01T20:44:48.859Z","dependency_job_id":null,"html_url":"https://github.com/mkurc1/docker-symfony","commit_stats":null,"previous_names":["mkurc1/docker-symfony"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkurc1/docker-symfony","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkurc1%2Fdocker-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkurc1%2Fdocker-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkurc1%2Fdocker-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkurc1%2Fdocker-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkurc1","download_url":"https://codeload.github.com/mkurc1/docker-symfony/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkurc1%2Fdocker-symfony/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31740266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T03:27:07.512Z","status":"ssl_error","status_checked_at":"2026-04-13T03:26:53.610Z","response_time":93,"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":["docker","docker-compose","docker-symfony","mysql","nginx","php7","symfony","symfony-docker"],"created_at":"2024-11-08T23:34:59.652Z","updated_at":"2026-04-13T04:41:33.898Z","avatar_url":"https://github.com/mkurc1.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Symfony 4 (PHP7.2-FPM - NGINX - MySQL)\n\nSimple docker configuration for Symfony 4 applications. This stack run with docker and docker-compose (1.7 or higher).\n\n## Configure\n\n1. Create a `.env` from the `.env.dist` file and update it into your configurations.\n\n2. Build and run containers\n\n```\n$ docker-compose build\n$ docker-compose up -d\n```\n\nIf you use Mac OS, you should use this commands:\n\n```\n$ docker-compose -f docker-compose.yml -f docker-compose.mac.yml build\n$ docker-compose -f docker-compose.yml -f docker-compose.mac.yml up -d\n```\n\nIt's definitely improve performance on Mac OS.\n\n3. Update database configuration in `.env` file:\n\n```\nDATABASE_URL=mysql://db_user:db_password@mysql:3306/db_name\n```\n\nYour database hostname during work with docker is `mysql` instead of e.g `localhost`.\n\n4. Composer install and create database\n\n```\n$ docker-compose exec php sh\ncomposer install\nphp bin/console doctrine:database:create\nphp bin/console doctrine:schema:update -f\n```\n\nOr, if you want to use aliases:\n\n```\n$ docker-compose exec php sh -l\nc install\nsf doctrine:database:create\nsf doctrine:schema:update -f\n```\n\n5. Visit http://localhost and enjoy the effects.\n\n## License\n\nThe bundle is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkurc1%2Fdocker-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkurc1%2Fdocker-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkurc1%2Fdocker-symfony/lists"}