/docker-stacks

A collection of containerised stacks based on docker-compose

Primary LanguageDockerfile

Docker stacks

This project provides a collection of docker compose "stacks" and a utitlity script dstack which is used to bring up/down the stacks. Stacks can span one or more containers/services. You can create a new stack by adding a docker-compose.yml file to ./stacks/<stack-name>/ directory, for example: ./stacks/my_cool_project. For example you could create a stack per project or for dev/qa/prod environements.

Getting started

# create the external dev network
$ docker network create dev

# install helper script
$ sudo ./install.sh

# start up your dev stack
$ dstack dev up

# stop the dev stack
$ dstack dev down

# (optional) stack base directory configuration to define the working directory
$ STACKS_BASE=~/dev/docker-stacks/stacks dstack up