{"id":27958819,"url":"https://github.com/cbouvat/docker-laravel","last_synced_at":"2025-05-07T18:26:25.248Z","repository":{"id":182819463,"uuid":"398254127","full_name":"cbouvat/docker-laravel","owner":"cbouvat","description":"All-in-one docker-compose configuration for Laravel with Nginx, PHP-fpm, Xdebug, PostgreSQL, MailPit, Node ...","archived":false,"fork":false,"pushed_at":"2025-01-24T16:38:41.000Z","size":56,"stargazers_count":17,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-02T22:07:42.093Z","etag":null,"topics":["composer","docker","laravel","nodejs","php","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/cbouvat.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":"2021-08-20T11:29:43.000Z","updated_at":"2025-02-26T10:00:12.000Z","dependencies_parsed_at":"2023-12-01T12:17:13.416Z","dependency_job_id":"083baa4e-515a-4f64-a65b-fdd469472a05","html_url":"https://github.com/cbouvat/docker-laravel","commit_stats":null,"previous_names":["cbouvat/docker-laravel"],"tags_count":5,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbouvat%2Fdocker-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbouvat%2Fdocker-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbouvat%2Fdocker-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbouvat%2Fdocker-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbouvat","download_url":"https://codeload.github.com/cbouvat/docker-laravel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252933002,"owners_count":21827426,"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":["composer","docker","laravel","nodejs","php","postgresql"],"created_at":"2025-05-07T18:26:24.623Z","updated_at":"2025-05-07T18:26:25.233Z","avatar_url":"https://github.com/cbouvat.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Laravel\n\n## Requirement\n\n- Docker engine\n- Docker Compose\n- Make\n\n## Build with\n\n- HTTP server Nginx 1.25\n- PHP 8.3\n- Node 20\n- PostgreSQL 16 or MariaDB 11\n\n## Install Laravel\n\nMany commands are in `Makefile` file. Example `up`, `down`, `upgrade` and [many more 👇](#list-of-commands).\n\n- [Download the latest release of this repository](https://github.com/cbouvat/docker-laravel/releases).\n- Run this command `make install` for install Laravel with Composer\n- **⚠️ Modify** environnement file `.env` create by Laravel installer with this :\n\n```bash\nDB_CONNECTION=pgsql\nDB_HOST=pgsql\nDB_PORT=5432\nDB_DATABASE=Change this\nDB_USERNAME=Change this\nDB_PASSWORD=Change this\n\nMAIL_MAILER=smtp\nMAIL_HOST=mailpit\nMAIL_PORT=1025\nMAIL_USERNAME=null\nMAIL_PASSWORD=null\nMAIL_ENCRYPTION=null\nMAIL_FROM_ADDRESS=null\nMAIL_FROM_NAME=\"${APP_NAME}\"\n```\n\nThe project is ready to use 🎉 ! Go to `http://localhost` for see the application.\n\n## List of commands\n\nAll commands are in `Makefile` file with description. Open this file for more informations.\n\n## Development environment\n\nStart environment with this command `make up` and stop with `make down`. You can use `make upgrade-dev` for upgrade the environment.\n\n### Xdebug\n\nFor Visual Studio Code, use this configuration in `.vscode/launch.json` file.\n\n```json\n{\n    \"version\": \"0.2.0\",\n    \"configurations\": [\n        {\n            \"name\": \"Listen for Xdebug\",\n            \"type\": \"php\",\n            \"request\": \"launch\",\n            \"port\": 9003,\n            \"pathMappings\": {\n                \"/app\": \"${workspaceFolder}\"\n            }\n        }\n    ]\n}\n```\n\n### Database \n\nThe database is accessible on port `5432` with this parameters :\n\n- Host : `localhost`\n- Port : `5432`\n\nUse for example [DBeaver](https://dbeaver.io/) for connect to the database.\n\n### Mail capture\n\nMailpit capture all mails form the application.\n\n`http://localhost:8025`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbouvat%2Fdocker-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbouvat%2Fdocker-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbouvat%2Fdocker-laravel/lists"}