MariaDB + Redis boilerplate
PHP app with MariaDB and a Redis cache. One click generates a complete, runnable bootstrap — docker-compose, Makefile, Dockerfile, CI and more.
The stack
PHP 8.3
MariaDB 3306Redis 6379
docker-compose.yml preview
# docker-compose.yml — generated by Stacktora
services:
app:
image: php:8.3-fpm-alpine
command: php -S 0.0.0.0:8000 -t public
ports:
- "8000:8000"
env_file: [ .env ]
mariadb:
image: mariadb:11.8
ports:
- "3306:3306"
redis:
image: redis:8-alpine
ports:
- "6379:6379"
What you get
docker-compose.ymlMakefileDockerfileREADME.md.env.example.gitignore.dockerignore.github/workflows/ci.yml.tool-versions.editorconfigProcfile … and more
Quickstart
# clone, then one command to a running stack git clone … && cd app $ make setup # install toolchain + deps, build images $ make dev # boot the full stack # → app live at localhost:8000
Related templates
Next.js + PostgreSQL
React framework with a Postgres database — the classic full-stack starting point.
Node.jspostgres
Rails + Postgres + Sidekiq
Ruby on Rails with Postgres and a Redis-backed Sidekiq worker.
Rubypostgresredis
Laravel + MySQL + Redis
Laravel with MySQL and Redis for cache and queues.
PHPmysqlredis
.NET + Postgres + Redis
ASP.NET Core with Postgres and a Redis cache.
.NETpostgresredis
