Skip to content

Inception project from 42-Porto. Introduction into docker/docker-compose, containers and images.

Notifications You must be signed in to change notification settings

joaorema/Inception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inception Project – 42 Porto

This project implements the classic 42 Inception setup, featuring services like Nginx, WordPress, MariaDB, plus bonus services including FTP, Redis, Adminer, a custom whoami netcat-based service, and a static HTML page. Unlike many others, no official Docker Hub images were used. I built every container from scratch using custom Dockerfiles.

Project Structure Screenshot from 2025-08-19 11-50-10

How It Works

-Custom Docker Images: Each service uses its own Dockerfile and startup script (setup.sh or equivalent), so I fully controlled installation, configuration, and entrypoint behavior.

-Configs & Scripts in dedicated folders: Each service has: . conf/ folder containing its .conf files, . tools/ folder (or equivalent) with scripts that perform configuration tasks or launch the service.

-Startup Flow:

1 - Build each service’s Docker image from its directory.

2 - Within the image, the Dockerfile copies or sets up configuration files and scripts.

3 - The service’s entrypoint script applies configuration (e.g., generating certs, applying CLI installs, initializing DB) and starts the service.

-Why This Matters

Demonstrates deep Docker understanding, no reliance on pre built images. Everything is handcrafted from base OS layers. Each service is self contained with its own folder structure, letting you dive into service specific logic and config. Enhances maintainability. Clear breakdown between configuration, setup logic, and runtime behavior.

To run :

  • make start

To clean:

  • make prepare (removes images / volumes / containers)

  • make fclean (removes everything)

About

Inception project from 42-Porto. Introduction into docker/docker-compose, containers and images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published