abmruman / docker-compose-project-template

A template for docker-compose projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-compose-project

A template for docker-compose projects.

Content: (Templates and scripts)

* Can be used out-of-the-box or change as needed for your project.

** Requires changing to suit your project's need.

How to use

  • Fork and select this as template when creating a new repo on Github
  • Or click on Use this template on this repo and create a new repo on Github
  • Or clone/download and use locally
  • Modify docker-compose.yml
  • Modify Dockerfile
  • Modify env.example
  • Run make and you are good to go!
  • Run make up to start containers
  • Run make down to stop/remove containers
  • Run make clean to clean up and start fresh
  • Or use the scripts directly. i.e. ./scripts/init.sh, ./scripts/build.sh

Refer to Makefile to see the recipes.

About

A template for docker-compose projects

License:MIT License


Languages

Language:Shell 91.9%Language:Makefile 5.4%Language:Dockerfile 2.7%