Download the Docker installation package in the corresponding server. If you There are following 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 | ||
---|---|---|
|
...
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 insights_docker. Update all the config.env files for all components.
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 <RabbitMQ username>
RABBITMQ_PASSWORD= <rabbitmq <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 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 the below command inside from the folder which is having docker-compose.yml file.
...