{"id":20504460,"url":"https://github.com/tiknil/laravel-docker-compose","last_synced_at":"2026-01-28T14:03:18.820Z","repository":{"id":167292698,"uuid":"642862202","full_name":"tiknil/laravel-docker-compose","owner":"tiknil","description":"Docker compose file for local deployment of a laravel application","archived":false,"fork":false,"pushed_at":"2024-08-22T06:34:17.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-03T10:49:27.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tiknil.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-05-19T14:07:45.000Z","updated_at":"2024-08-22T06:34:20.000Z","dependencies_parsed_at":"2024-11-15T19:38:17.947Z","dependency_job_id":"7250ba9e-dbba-4dda-b4df-718468bd631b","html_url":"https://github.com/tiknil/laravel-docker-compose","commit_stats":null,"previous_names":["tiknil/laravel-docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tiknil/laravel-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Flaravel-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Flaravel-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Flaravel-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Flaravel-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiknil","download_url":"https://codeload.github.com/tiknil/laravel-docker-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Flaravel-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-15T19:38:07.983Z","updated_at":"2026-01-28T14:03:13.812Z","avatar_url":"https://github.com/tiknil.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Laravel docker compose\n\nThis project is the starting point for a local deployment of a laravel application. Mainly used by [Skipper](https://github.com/tiknil/skipper).\n\n## .env file\n\nThe `MAC_DB_PORT` env variable defines which port the mysql container should be attached to. It can be left empty, and docker will automatically select an available port. The port is useful for connecting to the database with external tools, such as the Database viewer inside PHPStorm.\n\nNote that this does not effect the port used by other containers to connect to MySQL.\n\nA summary:\n| Source | Hostname | Port |\n|--------|-----------|-------------|\n| PC | localhost | MAC_DB_PORT |\n| Docker | mysql | 3306 |\n\n## Nginx folder\n\nnginx folder contains a `default.conf` file, mapped inside the `/etc/nginx/conf.d` container directory, which is the nginx equivalent of apache sites-enabled.\n\n## Mysql folder\n\nmysql folder contains a `init.sql` file, that is run by MySQL at every startup.\n\n## Network\n\nNetworking is a bit complex. By default, all services in a docker compose file are placed on the same virtual docker network and can communicate with each other. The default key in the network section does exacty that.\n\nAt the same time, Skipper requires the http container (nginx) to be in the same networks as the reverse proxy. As a consequence, we need to define both networks in our docker compose file and explicitly attach our nginx service to both.\n\nAvoid placing the other containers in the skipper networks though, it may create some issues with docker forwarding requests to the container of a different docker compose project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiknil%2Flaravel-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiknil%2Flaravel-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiknil%2Flaravel-docker-compose/lists"}