{"id":27456977,"url":"https://github.com/florianrusch/docker-nginx-php-symfony","last_synced_at":"2026-04-15T10:37:20.018Z","repository":{"id":68573480,"uuid":"96016601","full_name":"florianrusch/docker-nginx-php-symfony","owner":"florianrusch","description":"🐳   This Docker Compose repository initializes a Docker container system for Symfony projects with nginx, php-fpm, mysql and a phpmyadmin container.","archived":false,"fork":false,"pushed_at":"2017-07-02T15:15:55.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T18:50:40.904Z","etag":null,"topics":["docker","docker-compose","mysql","nginx","php","symfony"],"latest_commit_sha":null,"homepage":"","language":null,"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/florianrusch.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-07-02T10:37:12.000Z","updated_at":"2017-07-02T12:31:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6af5478-aaf6-4264-8c31-25b8b8519e9f","html_url":"https://github.com/florianrusch/docker-nginx-php-symfony","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/florianrusch/docker-nginx-php-symfony","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianrusch%2Fdocker-nginx-php-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianrusch%2Fdocker-nginx-php-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianrusch%2Fdocker-nginx-php-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianrusch%2Fdocker-nginx-php-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florianrusch","download_url":"https://codeload.github.com/florianrusch/docker-nginx-php-symfony/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianrusch%2Fdocker-nginx-php-symfony/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31837667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T10:26:52.245Z","status":"ssl_error","status_checked_at":"2026-04-15T10:26:51.649Z","response_time":63,"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":["docker","docker-compose","mysql","nginx","php","symfony"],"created_at":"2025-04-15T18:41:12.494Z","updated_at":"2026-04-15T10:37:20.010Z","avatar_url":"https://github.com/florianrusch.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐳 Docker Compose - nginx-php-symfony\n\nThis Docker-Compose repository initializes a Docker container system with `nginx`, `php`, `db` (MySQL) and a `pma` (phpmyadmin) container.\n\nThe intention behind this project is to have a Docker container system which helps me and you to start easily developing a Symfony project.\n\n## Setup\n\n### File hierarchie\n\n- `Docker-compose.yml` - Definition of the container system.\n- `.env` - Defines and configures the env variables for the container system. Has to be created from the `.env-dist` file.\n- `.env-dist` - Template file for the `.env` file.\n- `.data/` - Data folder for the MySQL database etc.\n- `images/` - Folder for the images of the `php` and the `nginx` container.\n- `logs/` - Logging folder for Nginx and Symfony.\n- `symfony/` - Folder with the source code of the Symfony project.\n\n### New project\n\nThere is not much what you have to do. Just copy the three files `Docker-compose.yml`, `.gitignore`, `.env-dist` to your project root. Create an `.env` file from the `.env-dist` and update the constants in them. After that you should register the ip addresses of the Nginx and the phpmyadmin container on your loopback devices.\n\nFor MacOS you can run the following command on your terminal (please replace x.x.x.x with the specific ip address):\n```\nsudo ifconfig lo0 alias x.x.x.x\n```\n\n\u003e If you like to use a domain name/hostname to access your container, you have to register them in your `/etc/hosts` file. Normally you need sudo rights to edit this file.\n\n### Existing project\n\nIf you have an existing project you need to put your Symfony code into a separated folder called `symfony`. (See [File hierarchie](#file-hierarchie))\n\n\n# Thank you! 👏\n\nThere were a view projects/people which I like to say thank you for their work:\n\n- [maxpou](https://github.com/maxpou) with his [docker-symfony repo](https://github.com/maxpou/docker-symfony).\n- [eko](https://github.com/eko) with his [docker-symfony repo](https://github.com/eko/docker-symfony).\n- Chris, a good friend and flatmate.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianrusch%2Fdocker-nginx-php-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianrusch%2Fdocker-nginx-php-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianrusch%2Fdocker-nginx-php-symfony/lists"}