This project sets up a WordPress website using Docker, with Nginx as the web server and MariaDB as the database. The services are defined and managed using Docker Compose.
The project is structured as follows:
inception/
: The main directory containing all the Docker-related files.Makefile
: Contains commands for managing the Docker Compose setup.srcs/
: Contains the Docker Compose file and the service requirements.docker-compose.yaml
: Defines how the services are built, run, and interact.requirements/
: Contains the configuration, Dockerfile, and tools for each service.mariadb/
: MariaDB service.conf/my.cnf
: MariaDB configuration file.dockerfile
: Dockerfile for building the MariaDB image.tools/init.sh
: Initialization script for MariaDB.
nginx/
: Nginx service.conf/nginx.conf
: Nginx configuration file.dockerfile
: Dockerfile for building the Nginx image.tools/index.html
: Default page served by Nginx.
wordpress/
: WordPress service.conf/www.conf
: PHP-FPM configuration file.dockerfile
: Dockerfile for building the WordPress image.tools/init_wordpress.sh
: Initialization script for WordPress.
sleepyNajlio/Inception is built on the following main stack:
- DB – Database Tools
- MariaDB – Databases
- MySQL – Databases
- NGINX – Web Servers
- Shell – Shells
- WordPress – Self-Hosted Blogging / CMS
Full tech stack here
- Clone the repository:
git clone https://github.com/sleepyNajlio/Inception.git
- Navigate to the inception directory:
cd inception
- Build the Docker images:
make build
- Start the services:
make up
- Access the WordPress site at: localhost:443