Bigga (Community Edition)
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
buildpaths in the
docker-compose.ymlfile to point to your local repositories
- Make sure that there is a
.dockerignorefile in each of your repositories that ignores unwanted files/folders line venv, .git, node_modules folders, etc.
- Build images -
- 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
docker-compose scale backend=X worker=Y
S3 Based front-end deployment
Refer our S3 deployment guide: S3_FRONTEND_DEPLOYMENT.md
Importing / Exporting Docker Machines
machine-share npm package. Check out the docs on this GitHub repo: bhurlow/machine-share
Inspecting / Deleting Volumes
- 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
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 [email protected] for more details.