{"id":20244796,"url":"https://github.com/renoki-co/laravel-docker-base","last_synced_at":"2025-04-10T20:47:14.930Z","repository":{"id":40426859,"uuid":"357504533","full_name":"renoki-co/laravel-docker-base","owner":"renoki-co","description":"Already-compiled PHP-based Images to use when deploying your Laravel application to Kubernetes using Laravel Helm charts.","archived":false,"fork":false,"pushed_at":"2023-09-18T11:10:06.000Z","size":190,"stargazers_count":35,"open_issues_count":7,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T18:21:17.644Z","etag":null,"topics":["docker","docker-image","laravel","laravel-docker-images","octane","php-docker","php-fpm","workers"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renoki-co.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"rennokki"}},"created_at":"2021-04-13T09:57:26.000Z","updated_at":"2025-02-26T08:03:58.000Z","dependencies_parsed_at":"2023-02-19T06:46:03.054Z","dependency_job_id":null,"html_url":"https://github.com/renoki-co/laravel-docker-base","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renoki-co%2Flaravel-docker-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renoki-co%2Flaravel-docker-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renoki-co%2Flaravel-docker-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renoki-co%2Flaravel-docker-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renoki-co","download_url":"https://codeload.github.com/renoki-co/laravel-docker-base/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248295455,"owners_count":21080105,"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","docker-image","laravel","laravel-docker-images","octane","php-docker","php-fpm","workers"],"created_at":"2024-11-14T09:17:24.570Z","updated_at":"2025-04-10T20:47:14.902Z","avatar_url":"https://github.com/renoki-co.png","language":null,"funding_links":["https://github.com/sponsors/rennokki"],"categories":[],"sub_categories":[],"readme":"Laravel Docker Images\n=====================\n\n- [Laravel Docker Images](#laravel-docker-images)\n  - [🤝 Supporting](#-supporting)\n  - [🚀 Getting Started](#-getting-started)\n  - [⛽ Octane](#-octane)\n  - [🖥 PHP-FPM](#-php-fpm)\n  - [🤖 Workers](#-workers)\n\nAlready-compiled PHP-based Images to use when deploying your Laravel application to Kubernetes using Laravel Helm charts.\n\n## 🤝 Supporting\n\n**If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with [Github Sponsors](https://github.com/sponsors/rennokki). 📦**\n\n[\u003cimg src=\"https://github-content.s3.fr-par.scw.cloud/static/32.jpg\" height=\"210\" width=\"418\" /\u003e](https://github-content.renoki.org/github-repo/32)\n\n\n## 🚀 Getting Started\n\nImages are used to deploy a [sample Laravel application](https://github.com/renoki-co/laravel-helm-demo) to Kubernetes using Helm charts for vanilla Laravel, Laravel Octane or to deploy workers such as queues.\n\nFor Docker \u0026 versioning examples, please check [`renokico/laravel-base` Quay page](https://quay.io/repository/renokico/laravel-base).\n\nThis project compiles images:\n\n- for PHP-FPM + NGINX projects, using `Dockerfile.fpm`, based on an official PHP-FPM Docker image\n- for Octane, using `Dockerfile.octane`, based on [a PHP, Swoole-ready image](https://hub.docker.com/r/phpswoole/swoole)\n- for Workers, like CLI commands, using `Dockerfile.worker`, based on an official PHP CLI Docker image\n\nThese images can be used to compile your app code in a PHP-ready container to be used in Kubernetes.\n\n## ⛽ Octane\n\nOctane images are based on [a PHP-Swoole image](https://hub.docker.com/r/phpswoole/swoole) that works directly with Octane in Swoole mode.\n\n```Dockerfile\nFROM quay.io/renokico/laravel-base:octane-latest-php8.1-alpine\n\nCOPY . /var/www/html\n\nRUN mkdir -p /var/www/html/storage/logs/ \u0026\u0026 \\\n    chown -R www-data:www-data /var/www/html\n\nWORKDIR /var/www/html\n\nENTRYPOINT [\"php\", \"-d\", \"variables_order=EGPCS\", \"artisan\", \"octane:start\", \"--server=swoole\", \"--host=0.0.0.0\", \"--port=80\"]\n\nEXPOSE 80\n```\n\n## 🖥 PHP-FPM\n\nThe PHP-FPM image contains the PHP-FPM process and will be complemented by NGINX in the Helm chart.\n\n```Dockerfile\nFROM quay.io/renokico/laravel-base:latest-8.1-fpm-alpine\n\nCOPY . /var/www/html\n\nRUN mkdir -p /var/www/html/storage/logs/ \u0026\u0026 \\\n    chown -R www-data:www-data /var/www/html\n\nWORKDIR /var/www/html\n```\n\n## 🤖 Workers\n\nWorkers can be either long-running processes that serve as workers (for example, queues) or by running a local process that might also expose a HTTP server, etc. Either way, you can use a Worker to extend your project.\n\n```Dockerfile\nFROM quay.io/renokico/laravel-base:worker-latest-8.1-cli-alpine\n\nCOPY . /var/www/html\n\nRUN mkdir -p /var/www/html/storage/logs/ \u0026\u0026 \\\n    chown -R www-data:www-data /var/www/html\n\nWORKDIR /var/www/html\n\nENTRYPOINT [\"php\", \"-a\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenoki-co%2Flaravel-docker-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenoki-co%2Flaravel-docker-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenoki-co%2Flaravel-docker-base/lists"}