Integrating StarRocks
Deploying the Metad analytics cloud together with StarRocks cluster in a Docker Cluster can quickly establish a data analytics platform.
Preparation
Execute the following command on the host machine:
sysctl -w vm.max_map_count=2000000
Installation and Deployment
Please download the installation script we provided:
git clone https://github.com/meta-d/installer.git
Then, under the docker directory, first configure the environment variable file .env
:
cd installer/docker
cp env.tmpl .env
- Set the value of INSTALLATION_MODE to with-starrocks
- Other password fields can be reset as needed
Finally, execute the following command to start the service:
docker-compose -f docker-compose-with-starrocks.yml up -d
Once the service is started, access http://localhost/ to see the login page of the Metad analytics platform.
1 FE x 1 BE
Deploying one frontend service and one backend service on a single node, this deployment method is suitable for small-scale data analysis scenarios.
Download the installer project code, and execute the following command under the docker directory to start the service:
docker-compose -f docker-compose-with-doris.yml up -d
3 FE x 3 BE
Deploying three frontend services, three backend services, and a load-balanced reverse proxy service on a single node, this deployment method is suitable for large-scale data analysis scenarios. The number of services and network structure can be adjusted according to actual needs.
Download the installer project code, and execute the following command under the docker directory to start the service:
docker-compose -f docker-compose-with-doris-fe3xbe3.yml up -d