Skip to content

Latest commit

 

History

History
110 lines (70 loc) · 5.04 KB

README.md

File metadata and controls

110 lines (70 loc) · 5.04 KB

NOTE: This is a fork of devopshobbies/docker-templates with additional modifications. I haven't had the time to submit a PR or make changes based on potential code reviews, as the process of preparing and updating contributions would require more time than I currently have.

Docker-Templates

This repository is a good source of docker templates added and modified by users as a best practice. You can navigate, check and use them as you wish. This repository was created for educational purposes and remains free forever. Let's grow together - DevOps Hobbies team.

The goal.

In this repository, we are trying to gather some practical samples of the docker file templates for each language and technology, so you can use them in your projects. We are trying to provide docker files and templates as best practices.

Folder Copier CLI

A simple bash script to copy a specified folder from a source or template directory to the current working directory.

Usage

SOURCE_DIR="/path/to/your/docker-templates" bash /path/to/your/docker-templates/cli.sh -f <folder_name>

you can add an alias

# ~/.my_aliases
newdockerproj() {
  (SOURCE_DIR="/path/to/your/docker-templates" bash /path/to/your/docker-templates/cli.sh -f "$1")
}

and just run

# to copy the docker templates for golang
newdockerproj go

# show help - for a list of templates
ndewdockerproj
  • -f <folder_name>: Name of the folder to copy.
  • Copies the folder from $SOURCE_DIR or $SOURCE_DIR/templates to the current path.

Environment Variables

SOURCE_DIR: Directory where folders are stored. Defaults to $HOME.

How to contribute?

We are performing a helpful guide about how you can contribute to the project and You can access it from here. If you find a problem anywhere in the project even in the CONTRIBUTING.md file, You can change the file but make sure You understand what are You doing, and if You need any other help, just create an issue and we'll be there to give you one.

languages

You can find different frameworks or use cases in each folder.

Javascript, Typescript Backend & related frameworks

Javascript, Typescript Frontend & related frameworks

PHP programming language & related frameworks

Go programming language & related frameworks

Java programming language & related frameworks

C# programming language & related frameworks

Python programming language & related frameworks

C++ programming language & related frameworks

Ruby programming language & related frameworks

Dart programming language & related frameworks

Rust programming language & related frameworks