An open API service indexing awesome lists of open source software.

https://github.com/yvann-ba/inception

🐳Production-ready Docker setup with WordPress, NGINX (SSL), and MariaDB
https://github.com/yvann-ba/inception

containerization devops docker infrastructure

Last synced: 9 months ago
JSON representation

🐳Production-ready Docker setup with WordPress, NGINX (SSL), and MariaDB

Awesome Lists containing this project

README

          

# 🐳 Inception

### **A complete containerized WordPress infrastructure using Docker, featuring NGINX, MariaDB, and WordPress running in isolated containers with SSL encryption**

## Video Demo
[Coming Soon]

## Features
- **Containerization**: Fully Dockerized infrastructure with custom images
- **Security**: NGINX with TLSv1.2/1.3 SSL encryption
- **Persistence**: Docker volumes for database and WordPress files
- **Isolation**: Each service runs in its own container
- **High Availability**: Automatic container restart on crash

## Infrastructure Overview
Capture_dcran_2022-07-19__16 24 51

## Quick Setup

1. **Launch Infrastructure**
```bash
make
```

2. **Access WordPress**
```
https://ybarbot.42.fr
```

---

## Technical Details

Container Architecture

### NGINX Container
- Debian based
- SSL/TLS encryption
- Port 443 only
- Reverse proxy configuration

### WordPress Container
- PHP-FPM configuration
- WordPress core files
- Custom PHP optimizations
- Volume mounted content

### MariaDB Container
- Secure database configuration
- Persistent data storage
- Custom user setup
- Optimized for WordPress

Volume Configuration

- **/wordpress**: Site files and uploads
- **/database**: MariaDB data files
- Location: /home/ybarbot/data

Network Details

- Internal Docker network
- Container isolation
- NGINX as sole entry point
- Inter-container communication

Security Features

- Environment variables
- Docker secrets support
- No hardcoded credentials
- SSL/TLS encryption
- Custom user configuration

---

#### 🖥️ Works on Linux, Mac and WSL(for Windows)