{"id":19590651,"url":"https://github.com/aaron-22766/42_inception","last_synced_at":"2026-05-07T03:34:38.408Z","repository":{"id":210669946,"uuid":"727103160","full_name":"aaron-22766/42_inception","owner":"aaron-22766","description":"Set up a Docker network with containers for nginx, mariadb, and wordpress","archived":false,"fork":false,"pushed_at":"2024-02-22T12:01:28.000Z","size":12646,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T13:46:53.563Z","etag":null,"topics":["42","42-inception","42born2code","42cursus","42heilbronn","42projects","42school","docker","mariadb","nginx","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/aaron-22766.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-12-04T07:32:16.000Z","updated_at":"2024-02-14T11:13:49.000Z","dependencies_parsed_at":"2024-11-11T08:28:28.166Z","dependency_job_id":"70f66027-3093-43c4-a6a0-45b203801e30","html_url":"https://github.com/aaron-22766/42_inception","commit_stats":null,"previous_names":["aaron-22766/42_inception"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaron-22766/42_inception","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaron-22766%2F42_inception","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaron-22766%2F42_inception/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaron-22766%2F42_inception/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaron-22766%2F42_inception/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaron-22766","download_url":"https://codeload.github.com/aaron-22766/42_inception/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaron-22766%2F42_inception/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285548626,"owners_count":27190487,"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","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["42","42-inception","42born2code","42cursus","42heilbronn","42projects","42school","docker","mariadb","nginx","wordpress"],"created_at":"2024-11-11T08:25:49.750Z","updated_at":"2025-11-21T03:04:50.051Z","avatar_url":"https://github.com/aaron-22766.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\t\u003cp\u003e\n\tinception\n\t\u003c/p\u003e\n\t\u003cimg src=\"https://github.com/aaron-22766/aaron-22766/blob/main/42-badges/inceptione.png\"\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cb\u003e\u003ci\u003eOne container is not enough, we need to go deeper\u003c/i\u003e\u003c/b\u003e\u003cbr\u003e\u003cbr\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/aaron-22766/42_inception?color=lightblue\" /\u003e\n\t\u003cimg alt=\"Code language count\" src=\"https://img.shields.io/github/languages/count/aaron-22766/42_inception?color=yellow\" /\u003e\n\t\u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/aaron-22766/42_inception?color=blue\" /\u003e\n\t\u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/aaron-22766/42_inception?color=green\" /\u003e\n\u003c/p\u003e\n\n---\n\n## 🗣 About\n\nThis 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.\n\n## 🛠 Usage\n\n### How to run\n\n* Have **Docker Desktop** installed and running\n* Add the line `127.0.0.1 arabenst.42.fr` to `/etc/hosts` to redirect the required domain name to localhost\n* be inside the root folder of the repo and run `make up` to start\n* visit `arabenst.42.fr` in your browser\n* run `make down` to stop\n\n### Upload wordpress backup\n\nBecause newer versions of the plugin get stuck on upload...\n\n* visit `arabenst.42.fr/wp-admin` enter the admin login as in `srcs/.env`\n* install the **All-in-One Migration Version 6.7** Wordpress plugin following [this guide](https://www.namehero.com/blog/how-to-fix-a-stuck-all-in-one-wp-migration-import/#1-2-installing-the-older-plugin-version-67)\n* navigate to the plugin, select *Import* and upload the desired backup (`inception.wpress` is the website I made for the evaluation)\n* visit the main page again and the changes should be applied\n\n## 💬 Description\n\n* Three **Docker Containers** run the individual services:\n  * **nginx** (webserver)\n  * **MariaDB** (database)\n  * **WordPress** (content management system) and **php-fpm** (web tool for quicker website)\n* Two **Docker Volumes** mount local directories for persisting files:\n  * WordPress database\n  * WordPress website files\n* A **Docker Network** establishes the connection between your containers\n\n\u003cbr\u003e\n\n* Each container is launched from a **Docker Image** which is built from a  **Dockerfile**:\n  * pulls a base image (I decided to only use **Alpine**, as it's more light-weight and therefore installs quicker than **Debian**)\n  * installs and configures programs as required\n  * launches a startup-script that makes some last minute setup and runs the service\n* A **docker-compose.yml** file manages everything:\n  * builds images from Dockerfiles (importing the .env file as the environment)\n  * launches containers from images\n  * hooks the containers up with volumes\n  * configures the network for the containers to communicate with each other\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaron-22766%2F42_inception","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaron-22766%2F42_inception","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaron-22766%2F42_inception/lists"}