2026-05-29 21:11:32 +00:00
2026-05-29 22:03:51 +01:00
2026-05-29 22:03:51 +01:00
2026-05-29 22:03:51 +01:00
2026-05-29 22:03:51 +01:00
2026-05-29 21:11:32 +00:00

WordPress + Nginx + MariaDB Stack

A production-ready "Quick Start" stack featuring WordPress running via PHP-FPM and Nginx as a reverse proxy.

🚀 Quick Start

1. Clone the repository

git clone https://git.suricatingss.xyz/suricata/docker-wp-quickstart
cd docker-wp-quickstart

2. Setup Environment Variables

This project uses a base + override system for environment variables.

# Create your local env file from the example
cp .env.example .env

Open .env and update your passwords. The docker-compose.yaml is configured to load .env.example first for defaults and .env second for your specific overrides.

3. Launch the Stack

docker compose up -d

4. Access your site

Visit http://localhost:8000 in your browser to complete the WordPress installation.


🛠 Architecture

  • Web Server: Nginx (Stable Alpine)
  • Application: WordPress (PHP 8.5 FPM Alpine)
  • Database: MariaDB (Latest)

Key Features

  • Security: Nginx configuration is mounted as read-only.
  • Flexibility: Supports both standard Docker Compose .env and Portainer's stack.env conventions.
  • Persistence: Named volumes are used for both database and WordPress content to ensure data survives container restarts.

📂 Project Structure

  • docker-compose.yaml: The orchestration file.
  • .env.example: Template for required configuration.
  • nginx/default.conf: Custom Nginx configuration for PHP-FPM proxying.
Description
A quick launching repo for self-contained Wordpress.
Readme 28 KiB