Deployment

Deployment is performed using Ansible and docker. The application is made of the following containers:

  • csentry_web to run the main Flask application with uwsgi

  • csentry_workers_<index> to run RQ workers (same image as the main application)

  • csentry_postgres to run PostgreSQL

  • csentry_elasticsearch to run Elasticsearch

  • csentry_redis to run Redis

Refer to the CSEntry Ansible role for details.

All application default settings can be overridden using a local settings.cfg file. For deployment, this local file is defined in the CSEntry Ansible playbook: