Multi-node Docker deployments
This document provides a sample approach to set up the database and other infrastructure for a multi-node deployment using Docker Compose.
note
- For production deployments, it is recommended that you use Kubernetes to orchestrate the deployment of applications. Docker compose is not ideal for production. Proceed at your own risk.
- For HA setup, mount a license file or provide an environment variable
XL_LICENSEcontaining a base64-encoded license text for the Deploy instances. - The folders you mount needs to be owned by user 10001, for example, you can run
sudo chown -R 10001 xl-deploy-masterif you are mounting directories under$PWD/xl-deploy-masterfolder.