All Projects → renoki-co → laravel-docker-base

renoki-co / laravel-docker-base

Licence: Apache-2.0 license
Already-compiled PHP-based Images to use when deploying your Laravel application to Kubernetes using Laravel Helm charts.

Projects that are alternatives of or similar to laravel-docker-base

octane-testbench
⛽ Set of utilities to test Laravel applications powered by Octane.
Stars: ✭ 35 (+133.33%)
Mutual labels:  octane
rqmonitor
Flask based more dynamic and actionable frontend dashboard for monitoring Redis Queue 👩🏿‍💻 http://python-rq.org
Stars: ✭ 152 (+913.33%)
Mutual labels:  workers
zmq
ZeroMQ based distributed patterns
Stars: ✭ 27 (+80%)
Mutual labels:  workers
theeye-of-sauron
TheEye Dockers and QuickStart
Stars: ✭ 27 (+80%)
Mutual labels:  workers
docker-phpdev
Easy to use php docker development environment setup with vhost/multi version support
Stars: ✭ 75 (+400%)
Mutual labels:  php-docker
tinypool
🧵 A minimal and tiny Node.js Worker Thread Pool implementation (38KB)
Stars: ✭ 452 (+2913.33%)
Mutual labels:  workers
noroutine
Goroutine analogue for Node.js, spreads I/O-bound routine calls to utilize thread pool (worker_threads) using balancer with event loop utilization. 🌱
Stars: ✭ 86 (+473.33%)
Mutual labels:  workers
go-worker-thread-pool
A visual working example of a Thread Pool pattern, based on a known blog article.
Stars: ✭ 24 (+60%)
Mutual labels:  workers
JFrogfy
a simple clone of spotify built in Emberjs octane the music is played with youtube
Stars: ✭ 27 (+80%)
Mutual labels:  octane
vite-plugin-cloudflare
🔥Building Cloudflare workers is faster and easier using vite-plugin-cloudflare with node builtins like process and stream
Stars: ✭ 108 (+620%)
Mutual labels:  workers
viteflare
Cloudflare workers meet Vite plugins
Stars: ✭ 35 (+133.33%)
Mutual labels:  workers
algoviz
Codebase for educational tool on algorithms
Stars: ✭ 21 (+40%)
Mutual labels:  workers
TaskManager
A C++14 Task Manager / Scheduler
Stars: ✭ 81 (+440%)
Mutual labels:  workers
pest-plugin-laravel-octane
⛽ Pest plugin to test Laravel applications powered by Octane.
Stars: ✭ 21 (+40%)
Mutual labels:  octane
OctaneUnityTest
Some examples of use of Octane for Unity
Stars: ✭ 37 (+146.67%)
Mutual labels:  octane
comlink-fetch
⚙️ A Web worker fetch wrapper using comlink
Stars: ✭ 43 (+186.67%)
Mutual labels:  workers
lodata
The OData v4.01 Producer for Laravel
Stars: ✭ 40 (+166.67%)
Mutual labels:  octane
rails async migrations
Asynchronous support for ActiveRecord::Migration
Stars: ✭ 56 (+273.33%)
Mutual labels:  workers
natural
Fastest Framework for NodeJS. Written in pure ES6+
Stars: ✭ 30 (+100%)
Mutual labels:  workers
workers-jwt
Generate JWTs on Cloudflare Workers using the WebCrypto API
Stars: ✭ 67 (+346.67%)
Mutual labels:  workers

Laravel Docker Images

Already-compiled PHP-based Images to use when deploying your Laravel application to Kubernetes using Laravel Helm charts.

🤝 Supporting

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. 📦

🚀 Getting Started

Images are used to deploy a sample Laravel application to Kubernetes using Helm charts for vanilla Laravel, Laravel Octane or to deploy workers such as queues.

For Docker & versioning examples, please check renokico/laravel-base Quay page.

This project compiles images:

  • for PHP-FPM + NGINX projects, using Dockerfile.fpm, based on an official PHP-FPM Docker image
  • for Octane, using Dockerfile.octane, based on a PHP, Swoole-ready image
  • for Workers, like CLI commands, using Dockerfile.worker, based on an official PHP CLI Docker image

These images can be used to compile your app code in a PHP-ready container to be used in Kubernetes.

Octane

Octane images are based on a PHP-Swoole image that works directly with Octane in Swoole mode.

FROM quay.io/renokico/laravel-base:octane-latest-php8.0-alpine

COPY . /var/www/html

RUN mkdir -p /var/www/html/storage/logs/ && \
    chown -R www-data:www-data /var/www/html

WORKDIR /var/www/html

ENTRYPOINT ["php", "-d", "variables_order=EGPCS", "artisan", "octane:start", "--server=swoole", "--host=0.0.0.0", "--port=80"]

EXPOSE 80

🖥 PHP-FPM

The PHP-FPM image contains the PHP-FPM process and will be complemented by NGINX in the Helm chart.

FROM quay.io/renokico/laravel-base:latest-8.0-fpm-alpine

COPY . /var/www/html

RUN mkdir -p /var/www/html/storage/logs/ && \
    chown -R www-data:www-data /var/www/html

WORKDIR /var/www/html

🤖 Workers

Workers 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.

FROM quay.io/renokico/laravel-base:worker-latest-8.0-cli-alpine

COPY . /var/www/html

RUN mkdir -p /var/www/html/storage/logs/ && \
    chown -R www-data:www-data /var/www/html

WORKDIR /var/www/html

ENTRYPOINT ["php", "-a"]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].