{"id":21688422,"url":"https://github.com/d9beud/docker-amp-vanilla","last_synced_at":"2025-05-12T16:07:08.204Z","repository":{"id":264614215,"uuid":"893840777","full_name":"d9beuD/docker-amp-vanilla","owner":"d9beuD","description":"An ideal dockerized environment for Apache, MySQL and PHP.","archived":false,"fork":false,"pushed_at":"2024-12-12T17:05:30.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T23:51:21.727Z","etag":null,"topics":["apache2","docker","docker-compose","mariadb","php","php8"],"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-11-25T09:56:56.000Z","updated_at":"2024-12-12T17:05:34.000Z","dependencies_parsed_at":"2024-11-25T11:28:59.069Z","dependency_job_id":"6d6ce0b4-1b6f-4d71-b835-460de167390b","html_url":"https://github.com/d9beuD/docker-amp-vanilla","commit_stats":null,"previous_names":["d9beud/docker-amp-vanilla"],"tags_count":0,"template":true,"template_full_name":"d9beuD/docker-amp-symfony","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d9beuD%2Fdocker-amp-vanilla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d9beuD%2Fdocker-amp-vanilla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d9beuD%2Fdocker-amp-vanilla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d9beuD%2Fdocker-amp-vanilla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d9beuD","download_url":"https://codeload.github.com/d9beuD/docker-amp-vanilla/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253773910,"owners_count":21962194,"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"],"created_at":"2024-11-25T17:14:53.294Z","updated_at":"2025-05-12T16:07:08.153Z","avatar_url":"https://github.com/d9beuD.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker AMP Vanilla\n\nThe purpose of this template project is to provide a quick and easy way to get \na vanilla PHP project up and running with Docker. Ths project uses Apache, MySQL\nand PHP.\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\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), [MariaDB](https://mariadb.org) and [Composer](https://getcomposer.org) 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 your files. You can enter the Apache container by 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\nYou can now access your project at `http://localhost:8080`.\n\nRemember that every time you want to run a Composer 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-vanilla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd9beud%2Fdocker-amp-vanilla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd9beud%2Fdocker-amp-vanilla/lists"}