Skip to content

CLI tool to make working with multiple docker-compose files easier

Notifications You must be signed in to change notification settings

djetelina/mdcompose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Multi Docker Compose

Stupidly simple CLI tool that makes working with multiple compose files on regular basis a bit less tiresome.

Installation

sudo curl https://raw.githubusercontent.com/iScrE4m/mdcompose/master/mdcompose > /usr/local/bin/mdcompose && sudo chmod +x /usr/local/bin/mdcompose

Usage

When set up, instead of repeating:

docker-compose -f docker-compose.yaml -f docker-compose.local.yaml <command>

You can do:

mdcompose <command>

Settings

For mdcompose to know which compose files to use, you need a .mdcompose file within the folder, e.g.:

Example .mdcompose

docker-compose.yaml
docker-compose.local.yaml
docker-compose.personal.yaml

You can generate the file by using mdcompose init <file1> <file2> (the default compose file is added automatically).

More options to come soon!

About

CLI tool to make working with multiple docker-compose files easier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages