Download the Docker installation package in the server. If you are following 2 server setup, Download the below Docker package on both servers.
2. Unzip the package and update the config.env files present in the package. For 2 Server setup, update the server IP for the related components in the corresponding fields. There are 5 config.env files in each folder.
postgres/config.env
USER=
USER_GRAFANA_PASSWORD=
POSTGRES_PASSWORD=
neo4j/config.env
NEO4J_AUTH= /*NEO4J_USERNAME/NEO4J_PASSWORD*/
NEO4JLABS_PLUGINS=["apoc"]
NEO4J_apoc_trigger_enabled=true
NEO4J_USERNAME=
NEO4J_PASSWORD=
grafana/config.env
postgresIP= /*IP of server in which postgres is installed incase of 2 Server setup*/
postgresPort=
grafanaDBUser=
grafanaDBPass=
enableLoki=true
rabbitmq/config.env
RABBITMQ_USER=
RABBITMQ_PASSWORD=
config.env
hostInstance= /*Corresponding Server IP incase of 2 server setup*/
servicePort=
grafanaPort=
neo4jIP= /*Corresponding Server IP incase of 2 server setup*/
neo4jHttpPort=
neo4jBoltPort=
neo4jUser=
neo4jPassword=
postgresIP= /*Corresponding Server IP incase of 2 server setup*/
postgresPort=
grafanaDBUser=
grafanaDBPass=
rabbitmqIP= /*Corresponding Server IP incase of 2 server setup*/
rabbitMqUser=
rabbitMqPassword=
rabbitMqPort=
rabbitMqUIPort=
LOKI_HOST= /*Corresponding Server IP incase of 2 server setup*/
LOKI_PORT=
PROMTAIL_LISTEN_PORT=
enablePromtail=true
Once the values are updated in above config.env files,
1.For single server setup where all the containers will be running on the same host execute the below command
docker-compose up
2.For 2 server setup please run the commands in the corresponding servers,
a. Neo4j will be running on server1
docker-compose -f docker-compose-server1.yml up
b. Remaining all components will be running on server2
docker-compose -f docker-compose-server2.yml up