Accountancy Service Admin Guide
Each of the components of the Accountancy Service has its own Docker image and runs on a corresponding Docker container. Moreover, a production-ready configuration allowing Elasticsearch running on a multi-node cluster is also available. In order to deploy the Accountancy Service, there is a single docker-compose.yml that contains necessary configurations. However, before the deployment, Elasticsearch requires the ability to create many memory-mapped areas to work in clusters in production mode. This is due to the fact that Elasticsearch uses mmap to great effect to map portions of an index into the Elasticsearch address space. Therefore, following command must be executed by administrator privileges:
sudo sysctl -w vm.max_map_count=262144
To deploy the Accountancy Service, execute the following command at the folder containing docker-compose.yml file.
docker-compose up -d