{"id":28306304,"url":"https://github.com/cypri1-dev/42_inception","last_synced_at":"2026-01-20T16:29:15.268Z","repository":{"id":286155135,"uuid":"960545412","full_name":"cypri1-dev/42_inception","owner":"cypri1-dev","description":"Inception is a system administration project aimed at setting up a secure and modular web infrastructure using Docker and Docker Compose.  I will configure an environment that includes NGINX, WordPress, and MariaDB, while strictly following best practices for containerization and security.","archived":false,"fork":false,"pushed_at":"2025-04-04T16:40:08.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T02:04:49.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cypri1-dev.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":"2025-04-04T16:09:16.000Z","updated_at":"2025-04-04T16:40:11.000Z","dependencies_parsed_at":"2025-04-04T17:27:52.246Z","dependency_job_id":"5f87a061-ff32-4909-adbe-4588fb5fd7ab","html_url":"https://github.com/cypri1-dev/42_inception","commit_stats":null,"previous_names":["cypri1-dev/42_inception"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cypri1-dev/42_inception","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypri1-dev%2F42_inception","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypri1-dev%2F42_inception/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypri1-dev%2F42_inception/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypri1-dev%2F42_inception/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cypri1-dev","download_url":"https://codeload.github.com/cypri1-dev/42_inception/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypri1-dev%2F42_inception/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":[],"created_at":"2025-05-24T03:14:56.827Z","updated_at":"2026-01-20T16:29:14.823Z","avatar_url":"https://github.com/cypri1-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"##\n\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/ayogun/42-project-badges/refs/heads/main/badges/inceptione.png\" alt=\"Inception Badge\"\u003e\n\u003c/h1\u003e\n\n## 📌 Description\n\n**Inception** is a system administration project aimed at setting up a secure and modular web infrastructure using Docker and Docker Compose.  \nYou will configure an environment that includes **NGINX**, **WordPress**, and **MariaDB**, while strictly following best practices for containerization and security.\n\n## 🎯 Objectives\n\n- Learn how to configure and orchestrate Docker containers.\n- Understand secure deployment practices.\n- Use Docker Compose to define multi-container environments.\n- Store persistent data using Docker volumes.\n- Manage environment variables and secrets securely.\n\n## 🛠️ Services \u0026 Requirements\n\nEach service must be in its own container and built from either the penultimate stable version of **Alpine** or **Debian**.\n\n| Service       | Description                                                                 |\n|---------------|-----------------------------------------------------------------------------|\n| **NGINX**     | Acts as the only entrypoint (port 443), with TLSv1.2 or TLSv1.3 enabled.    |\n| **WordPress** | PHP-FPM based setup, served behind NGINX. No NGINX inside this container.   |\n| **MariaDB**   | Stores the WordPress database. No NGINX inside this container.              |\n\n### ✅ Mandatory Rules\n\n- Must be deployed inside a **Virtual Machine** (using here debian **11.11.0**).\n- Use **Docker Compose** to build and run services.\n- Containers must restart automatically on failure.\n- Each Dockerfile must be written manually. No pre-built images allowed (except Alpine/Debian).\n- Do **not** use `tail -f`, `sleep infinity`, or any kind of infinite loops.\n- Network must be explicitly defined in `docker-compose.yml`.\n- NGINX must be the only exposed container, accessible **only via HTTPS (443)**.\n\n## 🔐 Security \u0026 Environment\n\n- Use a `.env` file to manage environment variables like domain name, database credentials, etc.\n- Store sensitive data such as passwords in the `secrets/` folder.\n- Never commit credentials to Git.\n\n## Domain Setup\n\nUpdate your /etc/hosts (Linux/macOS) or C:\\Windows\\System32\\drivers\\etc\\hosts (Windows) to map your domain:\n```bash\n127.0.0.1  yourlogin.42.fr\n```\n\n## 🧹 Clean Code \u0026 Git\n\n- Never push .env or secrets/ files to your repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcypri1-dev%2F42_inception","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcypri1-dev%2F42_inception","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcypri1-dev%2F42_inception/lists"}