Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Download the docker installation package Docker installation package in the corresponding server. There are 2 approaches.

  • 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 Unzip the package and update the config.env files present in the packageinside each folder. Same details should be entered in the .env file. For 2 Server setup, update the server IP for the related components in the corresponding fields.

postgres/config.env

USER= <username>
USER_GRAFANA_PASSWORD= <grafana password>
POSTGRES_PASSWORD= <postgres password>

neo4j/config.env

NEO4J_AUTH= <NEO4J_USERNAME/NEO4J_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=
servicePort=host Instance= <Corresponding Server IP incase of 2 server setup>
service Port= <port in which Insights UI run>
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=
rabbitMqUserrabbitMqIP= <Corresponding Server IP incase of 2 server setup>
RabbitMQ User=
rabbitMqPassword=
rabbitMqPort=
rabbitMqUIPort=15672
LOKI_HOST= <Corresponding Server IP incase of 2 server 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 , 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

...