Production¶
Deploying¶
The docker composition already bundles some powerful containers based on: Nginx, PostgreSQL, Redis, Celery, Django, Django REST Framework, Python and various related librairies. It thus provides a safe and continuous way to deploy your project from an early development stage to a massive production environment.
Warning
Before any serious production usecase, you must modify all the passwords and secret keys in the configuration files of the sandbox.
Scaling¶
The Celery based worker container scales on all local CPUs automatically so that each processing pipelines is run asynchronously from its own thread. To scale on more machines, Kubernetes should offer evrything like demonstrated in these tutorials:
A Google Cloud based configuration is provided as an example in the k8s/ directory.