Skip to content

N1ghtm4reee/inception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Inception

Shell Docker License

Overview

Inception is a project that leverages Docker to build a scalable, modular, and production-like development environment using containers. The project automates the setup of multiple services, orchestrated via Docker Compose, which are configured using Shell scripts, Dockerfiles, and Makefiles.

Features

  • Containerized Architecture: Isolates each service in its own container for easier management and scalability.
  • Automated Deployment: Uses Makefiles and shell scripts to streamline building, running, and managing containers.
  • Multi-Service Stack: Integrates various services (such as web server, database, etc.) defined in Docker Compose.
  • Customizability: Easily configurable environment variables and service definitions.
  • Beginner Friendly: Clear structure and scripts to help users understand Docker-based development.

Project Structure

.
├── docker-compose.yml
├── srcs/
│   ├── requirements/
│   │   ├── nginx/
│   │   ├── wordpress/
│   │   └── ...
├── Makefile
├── scripts/
│   └── ...
└── README.md
  • docker-compose.yml: Main Docker Compose configuration.
  • srcs/requirements/: Service-specific Dockerfiles and configuration.
  • Makefile: Useful commands to build, start, stop, and clean the environment.
  • scripts/: Automation scripts (e.g., for setup and configuration).

Getting Started

Prerequisites

Setup

  1. Clone the repository:

    git clone https://github.com/N1ghtm4reee/inception.git
    cd inception
  2. Copy and edit the environment file (if required):

    cp .env.example .env
    # Edit .env to customize environment variables
  3. Build and start the services:

    • Using Makefile:
      make up
    • Or directly with Docker Compose:
      docker-compose up --build -d
  4. Access Services:

  5. Stop and clean up:

    make down
    # or
    docker-compose down

Usage

  • Edit service configurations under srcs/requirements/.
  • Add custom scripts in scripts/ for automation.
  • Use Makefile targets for common tasks:
    • make up - Build and run all containers.
    • make down - Stop and remove all containers.
    • make clean - Remove all generated data and images.

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published