User Movie Model of Neo4j, A Graph based Database is used for Storing and retrieving the information for CRUD Operations with Docker
- Updated the code of ../conf/prometheus.yml and no need to update IpAddress inside prometheus.yml
- Avoid Line 3 and Line 4
Use IntelliJ IDEA Software for Coding
-
Clone the Repository to your Local Machine.
-
Open the pom.xml file and Update (load) the dependencies. Press ( Ctrl + Shift + O )
3. Replace your IpAddress in the Prometheus.yml file as below example4. Example: From => targets: ['IpAddress:8080'] to targets: ['192.168.0.102:8080'] <= take IpAddress from ipconfig command frpm cmd -
Create jar file, by executing the below command in IntelliJ Built-in Terminal =>
-
./mvnw clean install -DskipTests -
Install the Docker Desktop => https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe
-
Install Neo4j Community Desktop => https://go.neo4j.com/download-thanks.html?edition=community&release=4.4.5&flavour=winzip
-
Navigate to the project location in Windows PowerShell => C:\Projects\User Movie Graph Application
-
docker pull neo4j -
docker pull grafana/grafana -
docker pull prom/prometheus -
docker build -t usermovie_image . -
docker-compose upAfter executing the above commands step by step in Windows PowerShell with the Project location path, Verify the images in the Docker Desktop and Check the Container is running or not.
-
In the URL, hit [YourIPAddress]:8080/swagger-ui/index.html#/ replace [YourIPAddress] to your localIpAddress of PC which is updated in Prometheus.yml file
-
Hit [YourIPAddress]:9090/ for Prometheus dashboard
-
Hit [YourIPAddress]:3000/ for Grafana Dashboard
-
Grafana Dashboard Configuration will be released soon ..... -
Hope you like it... Star my repo as a Support towards my work