{"id":19675470,"url":"https://github.com/kuninoto/42_inception","last_synced_at":"2026-04-30T22:37:29.664Z","repository":{"id":170136197,"uuid":"618972886","full_name":"Kuninoto/42_Inception","owner":"Kuninoto","description":"Configure a LEMP stack with Wordpress - introduction to Docker and the world of containerization.  ","archived":false,"fork":false,"pushed_at":"2025-04-01T22:03:25.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-12T02:28:13.944Z","etag":null,"topics":["1337school","21school","42","42-inception","42born2code","42cursus","42projects","42school","docker","docker-compose","docker-container","docker-image"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kuninoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-25T22:03:20.000Z","updated_at":"2025-10-03T22:16:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"4bf71ef7-7c9a-4a08-8320-005ea86eca41","html_url":"https://github.com/Kuninoto/42_Inception","commit_stats":null,"previous_names":["kuninoto/42_inception"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kuninoto/42_Inception","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuninoto%2F42_Inception","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuninoto%2F42_Inception/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuninoto%2F42_Inception/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuninoto%2F42_Inception/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kuninoto","download_url":"https://codeload.github.com/Kuninoto/42_Inception/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuninoto%2F42_Inception/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32479448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["1337school","21school","42","42-inception","42born2code","42cursus","42projects","42school","docker","docker-compose","docker-container","docker-image"],"created_at":"2024-11-11T17:24:19.120Z","updated_at":"2026-04-30T22:37:24.656Z","avatar_url":"https://github.com/Kuninoto.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inception (42Porto - 42Cursus) \u003cimg src=\"https://github.com/devicons/devicon/blob/master/icons/bash/bash-original.svg\" title=\"Bash\" alt=\"Bash Logo\" width=\"50\" height=\"60\" align=\"right\" /\u003e\u0026nbsp; \u003cimg src=\"https://github.com/devicons/devicon/blob/master/icons/linux/linux-original.svg\" title=\"Linux\" alt=\"Linux Logo\" width=\"50\" height=\"60\" align=\"right\" /\u003e\u0026nbsp; \u003cimg src=\"https://github.com/devicons/devicon/blob/master/icons/docker/docker-original.svg\" title=\"Docker\" alt=\"Docker Logo\" width=\"70\" height=\"70\" align=\"right\" /\u003e\u0026nbsp;\n\n## Grade: 100/100\n\n### Subject (v1.3): [Inception en_subject](./extras/en.subject_inception.pdf)  \n\n### Installing and running the project:\n1- Install Docker: [install Docker engine official docs](https://docs.docker.com/engine/install/)  \n2- Clone this repository\n\n    git clone https://github.com/Kuninoto/42_Inception\n3- Navigate to _lvl_5_inception_ \n\n    cd 42_Inception/lvl_5_inception\n4- Write a .env file like the one on srcs/.env.example to use your very own configurations  \n5- Run `make` with sudo privileges\n\n    sudo make\n6- Open up your favourite browser and search for https://www.nnuno-ca.42.fr\n\n### Useful links:  \n\n**What is Docker?**  \n[Wikipedia](https://en.wikipedia.org/wiki/Docker_(software))  \n[Docker in 100 seconds](https://www.youtube.com/watch?v=Gjnup-PuquQ)  \n[What is Docker in 5 minutes](https://www.youtube.com/watch?v=_dfLOzuIg2o)  \n[Introduction to Docker and Docker Containers](https://www.youtube.com/watch?v=JSLpG_spOBM)  \n[Docker explained simply](https://www.youtube.com/watch?v=_trJf3GbZXg)  \n[Learn Docker in 7 easy steps](https://www.youtube.com/watch?v=gAkwW2tuIqE)  \n\n**Virtual Machines vs. Containers**  \nhttps://www.youtube.com/watch?v=eyNBf1sqdBQ  \nhttps://www.youtube.com/watch?v=cjXI-yxqGTI  \n\n**What is a Daemon?**  \n[Wikipedia](https://en.wikipedia.org/wiki/Daemon_(computing))  \n[What is a daemon?](https://www.techtarget.com/whatis/definition/daemon)  \n\n**Docker Official Documentation**  \n[Docker docs](https://docs.docker.com/get-started/overview/)  \n[Get started with Docker](https://docs.docker.com/get-started/)  \n\n**Dockerfile**  \n[Dockerfile Docs](https://docs.docker.com/engine/reference/builder/)  \n[RUN vs CMD vs ENTRYPOINT](https://www.geeksforgeeks.org/difference-between-run-vs-cmd-vs-entrypoint-docker-commands/)  \n[COPY | Getting Your Own Code in a Docker Container | Beginner's Tutorial](https://www.youtube.com/watch?v=rI6mrsjFHII)  \n\n**Docker Volumes**  \n[Official Docs](https://docs.docker.com/storage/volumes/)  \n[CLI](https://docs.docker.com/engine/reference/commandline/volume_create/)  \n[What are Docker volumes and how do you use them?](https://www.howtogeek.com/devops/what-are-docker-volumes-and-how-do-you-use-them/)  \n[Basics of Docker Volumes | Tutorial](https://www.youtube.com/watch?v=utbuNtqlLh0)  \n[Docker Volumes explained in 6m](https://www.youtube.com/watch?v=p2PH_YPCsis)  \n[Docker Volumes | Use Local Folders and Directories](https://www.youtube.com/watch?v=ex4XMet78q8)  \n[Docker Volumes Explained (PostgreSQL example)](https://www.youtube.com/watch?v=G-5c25DYnfI)  \n[Docker Volumes with Persistent Data in Containers | Beginners Tutorial](https://www.youtube.com/watch?v=OrQLrqQm4M0)  \n\n**Docker Networking**  \n[Tutorial, all network types explained](https://www.youtube.com/watch?v=5grbXvV_DSk)  \n[40min video](https://www.youtube.com/watch?v=bKFMS5C4CG0)  \n[Bridge Networks](https://docs.docker.com/network/bridge/)  \n\n**Docker Compose File**  \n[Official Docs](https://docs.docker.com/compose/)  \n[Reference](https://docs.docker.com/engine/reference/commandline/compose/)  \n[20m Tutorial](https://www.youtube.com/watch?v=qH4ZKfwbO8w)  \n[30m Tutorial](https://www.youtube.com/watch?v=HG6yIjZapSA)  \n[Docker Compose in 12m](https://www.youtube.com/watch?v=Qw9zlE3t8Ko)  \n[Docker Compose restart policies](https://www.baeldung.com/ops/docker-compose-restart-policies)  \n[Env File](https://docs.docker.com/compose/environment-variables/env-file/)  \n[Volumes top-level element](https://docs.docker.com/compose/compose-file/07-volumes/)  \n[Networks top-level element](https://docs.docker.com/compose/compose-file/06-networks/)  \n[Services top-level element](https://docs.docker.com/compose/compose-file/05-services/)  \n\n**Useful Docker commands**  \n`docker pull` - Pull a Docker image from a registry, such as [Docker Hub](https://hub.docker.com/)  \n`docker push` - Push a Docker image to a registry  \n`docker build` - Build a Docker image from a Dockerfile  \n`docker build -t \u003cimage_name\u003e` - Build a Docker image, named _\u003cimage_name\u003e_ from a Dockerfile    \n`docker run` - Run a container based on a Docker image  \n`docker stop` - Stop a running container  \n`docker ps` - List the running containers  \n`docker ps -a` - List all running and non-running containers  \n`docker ps -l` - List the last created container\n`docker ps -aq` - List all containers ID's  \n`docker images` - List all the top level images, their repositories and their sizes  \n`docker images -q` - List all images ID's  \n`docker rm` - Remove a container  \n`docker rm $(docker ps -aq)` - Remove all containers  \n`docker rmi` - Remove a Docker image  \n`docker rmi $(docker images -q)` - Remove all Docker images\n`docker exec` - Execute a command in a running container  \n`docker exec -it \u003ccontainer_name_or_id\u003e /bin/bash` - Spawns a bash session inside the container that we can access  \n`docker logs` - Display the logs of a container  \n`docker inspect` - Provides detailed information about a container  \n`docker run -d -p \u003cport\u003e:\u003cmapped_port\u003e --name \u003ccontainer_name\u003e \u003cimage_name\u003e` - Runs a container from _\u003cimage_name\u003e_ Docker Image in detach mode with _\u003ccontainer_name\u003e_ name and port mapping port -\u003e mapped_port  \n`docker system prune` - Hard cleanup of the Docker environment (stopped containers, unused networks, dangling images and build cache)  \n\n**What is Nginx?**  \n[Wikipedia](https://en.wikipedia.org/wiki/Nginx)  \n\n**Nginx configuration**  \n[Nginx config files](https://www.digitalocean.com/community/tutorials/understanding-the-nginx-configuration-file-structure-and-configuration-contexts)  \n[Learn Proper Nginx Configuration Context Logic](https://www.youtube.com/watch?v=C5kMgshNc6g)  \n\n**What is TLS?**  \n[Wikipedia](https://en.wikipedia.org/wiki/Transport_Layer_Security)  \n\n**What is SSL?**  \n[Definition](https://www.cloudflare.com/learning/ssl/what-is-ssl/)  \n\n**Configuring Nginx for TLS**  \n[How to properly configure your Nginx for TLS](https://medium.com/@mvuksano/how-to-properly-configure-your-nginx-for-tls-564651438fe0)  \nGenerating a self-signed certificate  \n    - https://www.baeldung.com/openssl-self-signed-cert  \n    - https://stackoverflow.com/questions/10175812/how-to-generate-a-self-signed-ssl-certificate-using-openssl  \n\n\n**MariaDB**  \n[Introduction](https://www.redhat.com/sysadmin/mysql-mariadb-introduction)  \nInstalling MariaDB on Ubuntu  \n    - https://devopscube.com/install-mariadb-on-ubuntu/  \n    - https://www.digitalocean.com/community/tutorials/how-to-install-mariadb-on-ubuntu-20-04\n\n**WordPress**  \n[Installing WordPress with LEMP stack](https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-nginx-mariadb-and-php-on-debian-10#step-4-downloading-wordpress)  \n[wp-cli](https://make.wordpress.org/cli/handbook/guides/installing/)  \n\n**General**  \n[How to install Linux, Nginx, MariaDB, PHP (LEMP stack) on Debian 10](https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mariadb-php-lemp-stack-on-debian-10)  \n[How Docker really works under the hood](https://www.youtube.com/watch?v=-YnMr1lj4Z8)  \n[Docker-compose up, down, stop, start difference](https://stackoverflow.com/questions/46428420/docker-compose-up-down-stop-start-difference)  \n\n---\nMade by Nuno Carvalho (Kuninoto) | nnuno-ca@student.42porto.com  \n\u003cdiv id=\"badge\"\u003e \u003ca href=\"https://www.linkedin.com/in/nuno-carvalho-218822247\"/\u003e \u003cimg src=\"https://img.shields.io/badge/LinkedIn-blue?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" alt=\"LinkedIn Badge\"/\u003e\u0026nbsp;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuninoto%2F42_inception","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuninoto%2F42_inception","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuninoto%2F42_inception/lists"}