Bigga (Community Edition): A generic Docker Compose boilerplate to deploy your microservices (optimized for Python)
This setup contains everything you need to get started with a single-instance, production-grade container deployment
Please get in touch with Reckonsys for the Enterprise edition.
Blog post: Reckonsys Engineering Blog
- Fork this repo (So you can pull updates from us time to time)
- Start new machine -
docker-machine create -d virtualbox dev
. more drivers - Configure your shell to use the new machine environment -
eval $(docker-machine env dev)
- Change the
build
paths in thedocker-compose.yml
file to point to your local repositories - Make sure that there is a
.dockerignore
file in each of your repositories that ignores unwanted files/folders line venv, .git, node_modules folders, etc. - Build images -
docker-compose build
- Start services -
docker-compose up -d
- Create migrations -
docker-compose exec worker /usr/local/bin/python manage.py migrate
(Please ensure you are not running this command in backend and image that might receive traffic from traefik. Because you don't want a request to come to this container and fail. ) - Grab IP -
docker-machine ip dev
- and view in your browser
Suppose you want to run X backend
containers and Y worker
containers: docker-compose scale backend=X worker=Y
Refer our S3 deployment guide: S3_FRONTEND_DEPLOYMENT.md
Use the machine-share
npm package. Check out the docs on this GitHub repo: bhurlow/machine-share
- To list your volumes:
docker volume ls
- To inspect a volume:
docker volume inspect my_volume_name
- To remove a volume:
docker volume rm my_volume_name
Be sure to run docker-compose down
before removing volume to prevent it from being activly used while deleting.
Refer our troubleshooting guide: TROUBLESHOOTING.md
PaperTrail: https://github.com/gliderlabs/logspout
Jaeger: https://github.com/dhilipsiva/talks/blob/master/assets/2020-01-18/docker-compose.yml
Enterprise edition is a Production Ready setup which contains full-fledged Kubernetes support (So obviously support multiple instances across multiple regions), High-Availability configuration, Multi-Tenant configuration, Metrics and Priority Support.
Reckonsys offers paid support along with the Enterprise Edition of Bigga. Please contact info@reckonsys.com for more details.