{"id":18358072,"url":"https://github.com/archer-01/inception","last_synced_at":"2026-04-10T07:41:27.484Z","repository":{"id":181272296,"uuid":"591639500","full_name":"Archer-01/inception","owner":"Archer-01","description":"Introduction to Docker","archived":false,"fork":false,"pushed_at":"2023-12-06T15:13:03.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T18:35:51.815Z","etag":null,"topics":["devops","docker","docker-compose","mariadb","nginx","wordpress"],"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/Archer-01.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-01-21T11:29:36.000Z","updated_at":"2023-08-05T14:16:41.000Z","dependencies_parsed_at":"2025-02-15T18:29:36.535Z","dependency_job_id":"b4f1d133-937f-4601-be37-edcac429a81b","html_url":"https://github.com/Archer-01/inception","commit_stats":null,"previous_names":["archer-01/inception"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archer-01%2Finception","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archer-01%2Finception/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archer-01%2Finception/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archer-01%2Finception/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Archer-01","download_url":"https://codeload.github.com/Archer-01/inception/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144697,"owners_count":21054970,"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":["devops","docker","docker-compose","mariadb","nginx","wordpress"],"created_at":"2024-11-05T22:16:38.751Z","updated_at":"2026-04-10T07:41:22.436Z","avatar_url":"https://github.com/Archer-01.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inception\n\nWelcome to the Inception project repository! This project aims to set up a small infrastructure composed of different services under specific rules, all within a virtual machine using Docker Compose. Each service will run in a dedicated container, and for performance considerations, containers will be built either from the penultimate stable version of Alpine or Debian.\n\n## Table of Contents\n- [Project Overview](#project-overview)\n- [Getting Started](#getting-started)\n- [File Structure](#file-structure)\n- [Dockerfiles](#dockerfiles)\n- [Makefile](#makefile)\n- [Bonus Features](#bonus-features)\n\n### Project Overview\nThe infrastructure consists of the following services:\n1. NGINX with TLSv1.2 or TLSv1.3 only\n2. WordPress + php-fpm (without nginx)\n3. MariaDB\n4. Volumes for WordPress database and website files\n5. Docker network connecting the containers\n\n### Getting Started\nTo get started with this project, follow these steps:\n1. Clone this repository to your local machine.\n2. Navigate to the project directory.\n3. Run `make build` to build the Docker images.\n4. Run `make up` to start the containers.\n\n### File Structure\n- `docker-compose.yml`: Compose file defining the services, volumes, and network.\n- `Makefile`: Automation script for building and managing Docker images.\n- `nginx/Dockerfile`: Dockerfile for NGINX service.\n- `wordpress/Dockerfile`: Dockerfile for WordPress + php-fpm service.\n- `mariadb/Dockerfile`: Dockerfile for MariaDB service.\n\n### Dockerfiles\n- Each service has its own Dockerfile located in the corresponding service directory.\n- Dockerfiles are written to build the services from the penultimate stable version of Alpine or Debian.\n- The Dockerfiles are invoked in the `docker-compose.yml` through the `Makefile`.\n\n### Makefile\nThe Makefile includes the following commands:\n- `build`: Builds Docker images for all services.\n- `up`: Starts containers using Docker Compose.\n- `down`: Stops and removes containers, networks, and volumes.\n\nTo use the Makefile, run commands like `make build` or `make up` in the project directory.\n\n### Bonus Features\nBonus services have been added to enhance the project:\n- **Redis Cache**: Set up a Redis cache for WordPress.\n- **FTP Server**: Containerized FTP server linked to the WordPress website volume.\n- **Static Website**: Create a simple static website in a language other than PHP.\n- **Adminer**: Set up Adminer for database management.\n- **Custom Service**: Add a service of your choice, justifying its usefulness during defense.\n\nFeel free to explore and modify the project to suit your needs! If you encounter any issues or have suggestions, please create an issue in the repository. Happy coding!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcher-01%2Finception","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcher-01%2Finception","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcher-01%2Finception/lists"}