Installation

Docker-Based Deployment Embedded with Jars

This article provides step-by-step instructions for deploying the OvalEdge application using Docker with embedded JARs. It outlines how to stop existing containers, update the image tags provided by the OvalEdge team, and restart the application using Docker Compose. By following this guide, users can ensure a smooth deployment or update of the OvalEdge application within their Docker environment.

Stop Docker Containers (UI and Job)

Go to the directory where the docker-compose.yml file is located and run the following command to stop the running containers:

Download the Docker Compose files from the links below:

$ sudo docker-compose --env-file mysql.env down

$ sudo docker-compose -f docker-compose-elasticsearch.yaml down


Update the Image Tags

Open the docker-compose.yml file and update the image tags for both the ui and job services. The OvalEdge team will provide the new image tag.

Note: Both UI and Job deployments are in the same docker-compose.yml file.

First, create the directorie needed for Docker volumes on your Ubuntu server:

$ mkdir /opt/docker_volumes/files

volumes:
    tmp:
Image: ovaledgellc/msf:tag-v6.3.1.18-GA-20250409
volumes: 
tmp:/home/ovaledge/tmp
- /opt/docker_volumes/files:/home/ovaledge/files

To update the Docker image and manage temporary files within volumes, follow the below path 

Image: ovaledgellc/msf:tag-v6.3.1.18-GA-20250409

Volumes: 

tmp: /home/ovaledge/temp

- /opt/docker_volumes/files:/home/ovaledge/files

Start the OvalEdge Application

Use the following command to start the application:

$ sudo docker-compose -f docker-compose-elasticsearch.yaml up -d

$ sudo docker-compose --env-file mysql.env up -d

Check Logs for UI/Job Containers

Monitor the logs using this command:

$ sudo docker logs -f ovaledge-ui 

Note: ovaledge-ui is the name of the container.

Once you observe the logs below, proceed with the next step.

Access the Application

Once both containers are running, open your browser and go to:

URL: http://<VM IPADDRESS>:8080/login