{"id":20509778,"url":"https://github.com/aminnairi/docker-nginx-php-mariadb-template","last_synced_at":"2025-07-02T09:35:31.199Z","repository":{"id":96373119,"uuid":"596979650","full_name":"aminnairi/docker-nginx-php-mariadb-template","owner":"aminnairi","description":"Template for running PHP and MariaDB behind NGINX using Docker, Docker Compose \u0026 GNU/Make for orchestration.","archived":false,"fork":false,"pushed_at":"2023-03-11T19:34:25.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"development","last_synced_at":"2025-05-17T15:02:53.203Z","etag":null,"topics":["docker","mariadb","nginx","php","template"],"latest_commit_sha":null,"homepage":"","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/aminnairi.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":"2023-02-03T11:02:12.000Z","updated_at":"2025-01-21T09:36:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9f67aa4-81b9-4112-849f-d540274b61d2","html_url":"https://github.com/aminnairi/docker-nginx-php-mariadb-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/aminnairi/docker-nginx-php-mariadb-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnairi%2Fdocker-nginx-php-mariadb-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnairi%2Fdocker-nginx-php-mariadb-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnairi%2Fdocker-nginx-php-mariadb-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnairi%2Fdocker-nginx-php-mariadb-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aminnairi","download_url":"https://codeload.github.com/aminnairi/docker-nginx-php-mariadb-template/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnairi%2Fdocker-nginx-php-mariadb-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263112247,"owners_count":23415571,"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","mariadb","nginx","php","template"],"created_at":"2024-11-15T20:26:26.898Z","updated_at":"2025-07-02T09:35:31.164Z","avatar_url":"https://github.com/aminnairi.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-php-nginx-mariadb-template\n\nTemplate for running PHP and MariaDB behind NGINX using Docker, Docker Compose \u0026 GNU/Make for orchestration.\n\n## Requirements\n\n- [GNU/Bash](https://www.gnu.org/software/bash/)\n- [GNU/Make]()\n- [Git](https://git-scm.com/)\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n## Clone\n\n```bash\ngit clone https://github.com/aminnairi/docker-php-nginx-mariadb-template my-project\ncd my-project\n```\n\n## Setup\n\n```bash\ncp .env.example .env\n```\n\n\u003e *Note: edit the `.env` file to setup your environment.*\n\n## Startup\n\n```bash\nmake start\n```\n\n\u003e *Note: you can change the port listened by the server with the `SERVER_PORT` environment variable by editing it in the `.env` file.*\n\n## Database\n\n```bash\nmake database\n```\n\n\u003e *Note: this will login to your database using a command line interface using your environment setup.*\n\n## Shutdown\n\n```bash\nmake stop\n```\n\n## Restart\n\n```bash\nmake restart\n```\n\n\u003e *Note: this is equivalent to running `make stop start`.*\n\n## PHP\n\n```bash\ndocker compose exec php php --version\n```\n\n\u003e *Note: replace `--version` with the PHP argument of your choice.*\n\n## MariaDB\n\n```bash\ndocker compose exec mariadb mariadb --version\n```\n\n\u003e *Note: replace `--version` with the MariaDB argument of your choice.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminnairi%2Fdocker-nginx-php-mariadb-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faminnairi%2Fdocker-nginx-php-mariadb-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminnairi%2Fdocker-nginx-php-mariadb-template/lists"}