Skip to content

A Docker infrastructure project that sets up a small-scale web hosting environment using WordPress, NGINX, and MariaDB.

Notifications You must be signed in to change notification settings

yrhiba/Inception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inception

A Docker infrastructure project that sets up a small-scale web hosting environment using WordPress, NGINX, and MariaDB.

Overview

This project involves creating a virtualized infrastructure using Docker containers with the following components:

  • NGINX server with TLSv1.2/TLSv1.3
  • WordPress with php-fpm
  • MariaDB database
  • Custom Docker network
  • Persistent volumes for WordPress files and database

Requirements

  • Docker and Docker Compose
  • Virtual Machine environment
  • Make

Infrastructure

  • All services run in separate containers
  • NGINX container acts as the only entry point (port 443)
  • Custom domain name setup (login.42.fr)
  • Environment variables stored in .env file
  • Containers auto-restart on crash
  • All Docker images built from Alpine or Debian

Setup

  1. Clone the repository
  2. Configure your .env file in the srcs directory
  3. Run make to build and start the infrastructure

Important Notes for Running the Code

Before running the code, please make sure to:

  1. Change the Device Paths in docker-compose.yml: Ensure that the device paths specified in the docker-compose.yml file are correct and point to valid directories on your system.

  2. Configure Variables in Makefile and .env File: Update the necessary variables in the Makefile and .env file according to your environment and requirements.

  3. Ensure .env File is Secure: Make sure that the .env file is kept secure and not exposed publicly, as it contains sensitive information such as passwords and configuration settings.

Author

Yahya RHIBA

About

A Docker infrastructure project that sets up a small-scale web hosting environment using WordPress, NGINX, and MariaDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published