A curated collection of Docker container templates, organized for rapid project bootstrapping and consistent development environments. This repository provides a structured approach to managing Dockerfiles and Compose configurations for popular technology stacks and services.
Docker-Stack is designed for developers who want reusable, well-organized Docker templates for common stacks. Each template follows a clear directory structure, making it easy to find, customize, and deploy containers for your projects.
docker-stacks/
βββ nodejs/
β βββ Dockerfile
β βββ docker-compose.yml
βββ python/
β βββ Dockerfile
β βββ docker-compose.yml
βββ postgres/
β βββ docker-compose.yml
βββ README.md
Note: The actual contents may vary based on the stacks included.
-
Clone the repository
git clone https://github.com/Jenil-Desai/Docker-Stacks.git cd Docker-Stacks -
Select a stack template
- Browse to the directory for the stack you need (e.g.,
nodejs,python,postgres).
- Browse to the directory for the stack you need (e.g.,
-
Build and run the container
docker-compose up --build
or, for single Dockerfiles:
docker build -t my-app . docker run my-app -
Customize as needed
- Edit the
Dockerfileordocker-compose.ymlto suit your project requirements.
- Edit the
- Contributions are welcome!
- To add a new stack, create a new directory with a clear name and include at least a
Dockerfile(and optionally adocker-compose.yml). - Please document any special instructions in a
README.mdwithin the stackβs directory. - Open issues or pull requests for improvements, bug fixes, or new templates.
This project is licensed under the MIT License.
Maintained by Jenil Desai. Feel free to reach out with suggestions or questions!