{"id":20269443,"url":"https://github.com/iker-gonzalez/inception","last_synced_at":"2026-04-13T04:02:38.169Z","repository":{"id":200117421,"uuid":"584733583","full_name":"iker-gonzalez/inception","owner":"iker-gonzalez","description":"Utilizing a Virtual Machine (VM) and Docker containers, this project orchestrates a secure system architecture with volume management, Docker networking, and TLS encryption, hosting services like NGINX, WordPress, and MariaDB","archived":false,"fork":false,"pushed_at":"2023-10-29T12:08:40.000Z","size":1651,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T05:33:23.738Z","etag":null,"topics":["docker","mariadb","networking","nginx","tls-certificate","virtual-machine","web-development","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iker-gonzalez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-03T11:31:03.000Z","updated_at":"2023-10-28T16:08:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf69afd6-3037-40ca-99c8-932064cea237","html_url":"https://github.com/iker-gonzalez/inception","commit_stats":null,"previous_names":["iker-gonzalez/inception"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Finception","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Finception/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Finception/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Finception/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iker-gonzalez","download_url":"https://codeload.github.com/iker-gonzalez/inception/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241753144,"owners_count":20014252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","mariadb","networking","nginx","tls-certificate","virtual-machine","web-development","wordpress"],"created_at":"2024-11-14T12:25:15.841Z","updated_at":"2025-12-31T01:03:00.601Z","avatar_url":"https://github.com/iker-gonzalez.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n🐳 inception 🐳\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cb\u003e\u003ci\u003eDevelopment repo for 42cursus' inception project\u003c/i\u003e\u003c/b\u003e\u003cbr\u003e\n\tFor further information about 42cursus and its projects, please refer to \u003ca href=\"https://github.com/iker-gonzalez/42_cursus\"\u003e\u003cb\u003e42cursus repo\u003c/b\u003e\u003c/a\u003e.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg alt=\"GitHub code size in bytes\" src=\"https://img.shields.io/github/languages/code-size/iker-gonzalez/inception?color=blueviolet\" /\u003e\n\t\u003cimg alt=\"Number of lines of code\" src=\"https://img.shields.io/tokei/lines/github/iker-gonzalez/inception?color=blueviolet\" /\u003e\n\t\u003cimg alt=\"Code language count\" src=\"https://img.shields.io/github/languages/count/iker-gonzalez/inception?color=blue\" /\u003e\n\t\u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/iker-gonzalez/inception?color=blue\" /\u003e\n\t\u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/iker-gonzalez/inception?color=brightgreen\" /\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n\t\u003ca href=\"#%EF%B8%8F-about\"\u003eAbout\u003c/a\u003e\n\t\u003cspan\u003e · \u003c/span\u003e\n\t\u003ca href=\"#%EF%B8%8F-usage\"\u003eUsage\u003c/a\u003e\n\u003c/h3\u003e\n\n---\n\n## 🗣️ About\n\n\u003e42_Inception is a Docker-compose project designed to streamline the creation of a robust LEMP stack, comprising Linux, Nginx, MariaDB, and PHP, all orchestrated seamlessly with WordPress. With this project, each service gets its own container, all operating within a dedicated Docker network, showcasing Docker as the key technology that powers this deployment. Additionally, the whole service is hosted within a dedicated Virtual Machine (using GCP Compute Engine service).\n\nFor detailed information, refer to the [**subject of this project**](https://github.com/iker-gonzalez/42_cursus/blob/main/_PDFs/en.subject_inception.pdf)\n\n\n## 🏗 Arquitecture \n\nThe system architecture for the \"Inception\" project is a comprehensive setup designed for system administration practice using Docker. It comprises various components and services orchestrated within a virtual machine environment. Here's a concise overview of the architecture:\n\n- **Virtual Machine (VM):** The entire project takes place within a virtual machine, isolating and encapsulating the system components.\n\n- **Dockerized Services:** The architecture involves multiple Docker containers, each serving a specific purpose. These containers are responsible for running various services, including NGINX, WordPress with PHP-FPM, and MariaDB. The containers are created using custom Dockerfiles, and each service operates within its dedicated container.\n\n- **Volume Management:** Two volumes are utilized for data management. One volume holds the WordPress database, while the other stores the website files. These volumes ensure data persistence and separation.\n\n- **Networking:** A custom Docker network connects the containers, facilitating communication and interaction between services.\n\n- **TLS Encryption:** The NGINX container acts as the entry point into the infrastructure, serving via port 443. It provides TLSv1.2 or TLSv1.3 encryption, ensuring secure communication.\n\nThis architecture provides a robust environment for system administration learning, emphasizing Docker-based virtualization and the orchestration of multiple services within a virtual machine.\n\n\n![System arquitecture](https://github.com/iker-gonzalez/inception/blob/main/inception_arquitecture.png)\n\n ## 🛠️ Usage\nTo run this project, follow these steps:\n\n1. **Create a Virtual Machine:**\n   - Create a VM with a user named \"ikgonzal,\" and ensure that the \"/home/ikgonzal\" folder is in place.\n\n2. **Edit Hosts File:**\n   - Add the following line to your `/etc/hosts` file to set up the expected domain name:\n     ```\n     127.0.0.1 ikgonzal.42.fr\n     ```\n\n3. **Clone the Repository:**\n   - Clone the 42_Inception repository to your VM by running the following command:\n     ```bash\n     git clone https://github.com/iker-gonzalez/inception.git\n     ```\n\n4. **Run the Project:**\n   - Within the project folder, execute the following command:\n     ```bash\n     make all\n     ```\n\n5. **Access the Website:**\n   - Open your web browser and visit \"https://ikgonzal.42.fr.\"\n\n6. **Certificate Warning:**\n   - You may encounter a self-signed certificate warning; please proceed by ignoring this warning.\n \n ## 🔗 Resources\n \n [Docker-curriculum](https://docker-curriculum.com/)\n \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiker-gonzalez%2Finception","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiker-gonzalez%2Finception","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiker-gonzalez%2Finception/lists"}