Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Download the Docker installation package in the corresponding server. If you There are following 2 server setup, Download the below Docker package on both serversapproaches.

  • Single server architecture : All components are installed in one server itself.

  • 2 Server architecture : Neo4j is installed in server 1 and remaining components are installed in server 2.

View file
nameinsights_docker.zip

...

2. Unzip the package and update the config.env files present inside each folder. Same details should be entered in the package.env file. 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 name><username>
USER_GRAFANA_PASSWORD= <grafana password>
POSTGRES_PASSWORD= <postgres password>

neo4j/config.env

NEO4J_AUTH= /*NEO4J<NEO4J_USERNAME/NEO4J_PASSWORD*/PASSWORD>
NEO4JLABS_PLUGINS=["apoc"]
NEO4J_apoc_trigger_enabled=true
NEO4J_USERNAME= <neo4j username>
NEO4J_PASSWORD= <neo4j password>

grafana/config.env

postgresIP= /<*IP of server in which postgres is installed incase of 2 Server setup*/>
postgresPort=
grafanaDBUser= <grafana username>
grafanaDBPass= <grafana password>
enableLoki=true

rabbitmq/config.env

RABBITMQ_USER= <RabbitMQ username>
RABBITMQ_PASSWORD= <RabbitMQ password>

config.env

hostInstance= /*Corresponding host Instance= <Corresponding Server IP incase of 2 server setup*/
servicePort=setup>
service Port= <port in which Insights UI run>
grafanaPort=
neo4jIP= /*Corresponding <Corresponding Server IP incase of 2 server setup*/setup>
neo4jHttpPort=
neo4jBoltPort=
neo4jUser=
neo4jPassword=
postgresIP= /*Corresponding <Corresponding Server IP incase of 2 server setup*/setup>
postgresPort=
grafanaDBUser=
grafanaDBPass=
rabbitmqIPrabbitMqIP= /*Corresponding <Corresponding Server IP incase of 2 server setup*/
rabbitMqUsersetup>
RabbitMQ User=
rabbitMqPassword=
rabbitMqPort=
rabbitMqUIPort=15672
LOKI_HOST= /*Corresponding <Corresponding Server IP incase of 2 server setup*/setup>
LOKI_PORT=31000
PROMTAIL_LISTEN_PORT=
enablePromtail=true
version= <version you need to download>

Once the values are updated in above config.env files and .env file,

1.For single server setup where all the containers will be running on the same host , execute the below command from the folder which is having docker-compose.yml file.

docker-compose up

2.For 2 server setup please run the commands in the corresponding servers , from the folders having docker-compose.yml file.

a. Neo4j will be running on server1

...