A template for docker-compose projects.
- scripts (convenient scripts for frequently used, necessary commands)
- .editorconfig
* - .gitignore
* - .pre-commit-config.yaml (
pre-commit install)* - .travis.yml (
travis lint .travis.yml)** - Dockerfile
** - LICENSE (MIT)
* - Makefile (for commands:
make,make clean, etc.)* - README.md
** - docker-compose.yml
** - env.example
**
* Can be used out-of-the-box or change as needed for your project.
** Requires changing to suit your project's need.
- Fork and select this as template when creating a new repo on Github
- Or click on
Use this templateon 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
makeand you are good to go! - Run
make upto start containers - Run
make downto stop/remove containers - Run
make cleanto 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.