{"id":16108174,"url":"https://github.com/aschmelyun/lc-the-docker-tutorial","last_synced_at":"2026-03-14T22:34:11.066Z","repository":{"id":43076059,"uuid":"424707128","full_name":"aschmelyun/lc-the-docker-tutorial","owner":"aschmelyun","description":"Source code behind the Laracasts series: The Docker Tutorial","archived":false,"fork":false,"pushed_at":"2022-08-05T18:34:43.000Z","size":5,"stargazers_count":11,"open_issues_count":3,"forks_count":20,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T08:29:38.791Z","etag":null,"topics":["docker","laracasts","laracasts-docker","laravel"],"latest_commit_sha":null,"homepage":"https://laracasts.com/series/the-docker-tutorial","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/aschmelyun.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}},"created_at":"2021-11-04T18:57:06.000Z","updated_at":"2024-11-11T03:36:53.000Z","dependencies_parsed_at":"2022-08-12T10:11:37.566Z","dependency_job_id":null,"html_url":"https://github.com/aschmelyun/lc-the-docker-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aschmelyun%2Flc-the-docker-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aschmelyun%2Flc-the-docker-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aschmelyun%2Flc-the-docker-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aschmelyun%2Flc-the-docker-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aschmelyun","download_url":"https://codeload.github.com/aschmelyun/lc-the-docker-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910666,"owners_count":20367546,"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","laracasts","laracasts-docker","laravel"],"created_at":"2024-10-09T19:25:41.724Z","updated_at":"2026-03-14T22:34:06.018Z","avatar_url":"https://github.com/aschmelyun.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Docker Tutorial\nThis is the source code behind the Laracasts series [The Docker Tutorial](https://laracasts.com/series/the-docker-tutorial), and features all of the files and code available in those videos. If any additions to the series are made, this code will be modified to include them!\n\n## Basic Usage\n\nTo get started, make sure you have [Docker installed](https://docs.docker.com/docker-for-mac/install/) on your system, and then clone this repository.\n\nNext, navigate in your terminal to the directory you cloned this, and spin up the containers for the web server by running `docker-compose up -d --build site`.\n\nAfter that completes, follow the steps from the [src/README.md](src/README.md) file to get your Laravel project added in (or create a new blank one).\n\nBringing up the Docker Compose network with `nginx` instead of just using `up`, ensures that only our site's containers are brought up at the start, instead of all of the command containers as well. The following are built for our web server, with their exposed ports detailed:\n\n- **nginx** - `:80`\n- **mysql** - `:3306`\n\nThree additional containers are included that handle Composer, NPM, and Artisan commands *without* having to have these platforms installed on your local computer. Use the following command examples from your project root, modifying them to fit your particular use case.\n\n- `docker-compose run --rm composer update`\n- `docker-compose run --rm npm run dev`\n- `docker-compose run --rm artisan migrate`\n\n## Permissions Issues\n\nIf you encounter any issues with filesystem permissions while visiting your application or running a container command, try completing the following steps:\n\n- Bring any container(s) down with `docker-compose down`\n- Open up the php, nginx, or composer Dockerfiles\n- Modify the values in the `ENV` attributes to match the user and group of this folder in your system\n- Re-build the containers by running `docker-compose build --no-cache`\n\nThen, either bring back up your container network or re-run the command you were trying before, and see if that fixes it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faschmelyun%2Flc-the-docker-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faschmelyun%2Flc-the-docker-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faschmelyun%2Flc-the-docker-tutorial/lists"}