Skip to content

Instantly share code, notes, and snippets.

View ibnu-ja's full-sized avatar
💙
hhhh

ibnu-ja

💙
hhhh
View GitHub Profile
@ibnu-ja
ibnu-ja / start.cmd
Last active February 16, 2026 07:20
Read executable and run exe
@echo off
for /f "usebackq tokens=*" %%a in (".env") do (
echo %%a | findstr /v /r "^#" > nul
if not errorlevel 1 (
set %%a
)
)
.\app.exe

Creatoing Multi-Container Laravel Inertia.js SSR Image with Podman

This setup is designed for production deployment. For local development, use DevContainers or Laravel Sail.

Images are significantly smaller compared to Laravel Sail, each around 400MB for small to medium applications. Horizontal scalability can be achieved by deploying multiple PHP and SSR containers behind a load balancer. Use Redis for sessions/cache and shared storage (S3, NFS) for multi-instance deployments.

1. Initialize Application

Obviously, we need a Laravel application. If you don't have one, you can install it using Podman:

module.exports = {
root: true,
env: {
node: true,
},
extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/prettier'],
parserOptions: {
parser: 'babel-eslint',
},
rules: {