{"id":22379315,"url":"https://github.com/d9beud/docker-amp-symfony","last_synced_at":"2026-03-08T01:07:03.983Z","repository":{"id":259872014,"uuid":"879663772","full_name":"d9beuD/docker-amp-symfony","owner":"d9beuD","description":"An ideal dockerized environment for Symfony, MySQL and PHP.","archived":false,"fork":false,"pushed_at":"2024-11-04T13:45:33.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-04T23:09:35.433Z","etag":null,"topics":["apache2","docker","docker-compose","mariadb","php","php8","symfony"],"latest_commit_sha":null,"homepage":"","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/d9beuD.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}},"created_at":"2024-10-28T10:30:06.000Z","updated_at":"2024-11-19T12:19:25.000Z","dependencies_parsed_at":"2024-10-28T14:55:20.398Z","dependency_job_id":"5ace3c63-0445-414d-bae5-02b0c29d770f","html_url":"https://github.com/d9beuD/docker-amp-symfony","commit_stats":null,"previous_names":["d9beud/docker-amp-symfony"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d9beuD%2Fdocker-amp-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d9beuD%2Fdocker-amp-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d9beuD%2Fdocker-amp-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d9beuD%2Fdocker-amp-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d9beuD","download_url":"https://codeload.github.com/d9beuD/docker-amp-symfony/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236604517,"owners_count":19175850,"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":["apache2","docker","docker-compose","mariadb","php","php8","symfony"],"created_at":"2024-12-04T23:09:37.197Z","updated_at":"2025-10-15T11:30:17.796Z","avatar_url":"https://github.com/d9beuD.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker AMP Symfony\n\nThe purpose of this template project is to provide a quick and easy way to get \na Symfony project up and running with Docker. Ths project uses Apache, MySQL and\nPHP.\n\n## Requirements\n\n- [Docker](https://www.docker.com/)\n- [Docker Composer](https://docs.docker.com/compose/)\n- [Make](https://www.gnu.org/software/make/manual/make.html) (optional — [install `make` for Windows](https://stackoverflow.com/questions/2532234/how-to-run-a-makefile-in-windows))\n\n## Usage\n\nThe first thing to do is to change a little bit the `compose.yml` file. You can\nchange the `MYSQL_ROOT_PASSWORD` and `MYSQL_DATABASE` environment variables to\nwhatever you want. You really should change the `name` of the container to\nsomething more meaningful.\n\n```diff\n# compose.yml\n- name: project-name\n+ name: name-of-your-project\n```\n\nThen, you can run the following command if you have `make`.\n\nIt will:\n- Build the containers\n- Start the containers\n- Create a new Symfony project in an empty directory\n- Move the Symfony project to the root directory\n- Remove the temporary project directory\n- Warm up the Symfony cache\n\n```bash\nmake init\n```\n\n### Or, step by step\n\nYou can run the following command to build the containers:\n\n```bash\nmake build # or `docker-compose build` if you don't have `make`\n```\n\nAn image with [PHP](https://www.php.net), [Apache](https://httpd.apache.org), [Composer](https://getcomposer.org) and [Symfony CLI](https://symfony.com/download) ready to use will be built.\n\nAfter that, you can run the following command to start the containers:\n\n```bash\nmake up # or `docker-compose up -d` if you don't have `make`\n```\n\nApache should be ready to serve, but you don't have a Symfony project yet. You\ncan create one by entering the Apache container and running the following command:\n\n```bash\nmake exec # or `docker-compose exec apache bash` if you don't have `make`\n          # it will open a bash session inside the container\n```\n\nThen, you can create a new Symfony project in the root directory by running the `init-symfony.sh` script:\n\n```bash\n./init-symfony.sh\n```\n\nYou can now access your Symfony project at `http://localhost:8080`.\n\nRemember that every time you want to run a Symfony command, you should run it\ninside the container thanks to the `make exec` command.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd9beud%2Fdocker-amp-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd9beud%2Fdocker-amp-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd9beud%2Fdocker-amp-symfony/lists"}