Skip to content

This project aims to broaden your knowledge of system administration by using Docker. You will virtualize several Docker images, creating them in your new personal virtual machine.

Notifications You must be signed in to change notification settings

ERROR244/Inception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—οΈ Inception

42 Project Docker Status

A fully containerized, secure, and scalable web infrastructure hosted using Docker.
Made with ❀️ by ERROR244.

inception-demo


πŸ“ Project Structure

Inception/
β”œβ”€β”€ Makefile
β”œβ”€β”€ docker-compose.yml
└── srcs/
└───── .env             #(just for testing)
└───── requirements/
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€ mariadb/
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€ wordpress/
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€ nginx/
└───────── bonus/
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ Website/
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ redis/
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ ftp/
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ adminer/
└──────────── portainer/

🐳 Services

Service Description Port(s)
Nginx Reverse proxy with SSL 443
WordPress CMS for content management 9000
MariaDB Relational database for WordPress 3306
Redis Caching layer 6379
FTP File Transfer Protocol server 21, 21000-21010
Adminer DB admin panel for MariaDB 8800
Portainer Docker container manager UI 9443
Website Custom static site 8000

βš™οΈ Makefile Usage

Command Description
make build Build and run all containers
make up Start all containers in detached mode
make stop Stop all running containers
make down Stop and remove all containers and volumes
make Down Hard reset: remove volumes' content + containers
make ps Show container status
make logs Show container logs
make reUp Restart after down
make reBuild Rebuild from scratch

πŸ” Features

  • SSL (HTTPS) enabled via Nginx
  • Secure password and user management through environment variables
  • Persistent volumes for MariaDB and WordPress
  • Bonus services for enhanced DevOps & monitoring
  • Clean Docker architecture with network isolation

πŸ§ͺ How to Run

  1. Clone the repo

    git clone https://github.com/ERROR244/Inception.git
    cd Inception
  2. Run the project

    make build
  3. Access services

πŸ“œ 42 Subject Goals

  • Set up multi-container Docker architecture
  • Isolate services via volumes and networks
  • Use only Docker CLI and Compose (no Dockerfiles from hub)
  • Secure the services with SSL
  • Bonus: Add extra services of your choice

πŸ‘¨β€πŸ’» Authors

πŸ“œ License

MIT β€” Free to use, modify, and share.

About

This project aims to broaden your knowledge of system administration by using Docker. You will virtualize several Docker images, creating them in your new personal virtual machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published