Installing the Operavix Application on Linux
Deploying Operavix on Linux using Docker ensures reliability, fault tolerance, and ease of management.
To properly install and configure the Operavix application on a Linux-based server, follow the instructions in: Installing the Operavix Application on Linux
A server capable of installing Docker software version 17.06 or higher is required.
Running the Application with HTTP Operation
After creating the volumes, you can run the application in HTTP mode — this approach is suitable for test environments, internal servers, or cases where traffic encryption is not required.
To start the container with the application operating over HTTP, execute the following command:
# docker run -d --name operavix-app \
--mount source=operavix-app-data,target=/var/lib/operavix/data/ \
--mount source=operavix-app-log,target=/var/log/operavix/ \
-p 0.0.0.0:8010:8010 -d --restart=always \
dockerhub.office.operavix.com/operavix/operavix_app:d230809
The image name with version is provided as an example. Replace the version with the one you are installing.
Running the Application with HTTP Operation (Swarm)
Production environments require a fault-tolerant and scalable setup. Use Docker Swarm to run Operavix as a service with multi-node management and load distribution.
To start the application over HTTP using Swarm, perform the following steps:
- Initialize a local Docker Swarm:
# docker swarm init --advertise-addr 127.0.0.1:2377 --listen-addr 127.0.0.1:2377 - Create a service:
Note: The image version is provided as an example. Replace the version with the one you are installing.
# docker service create --name operavix-app \ --mount type=volume,src=operavix-app-data,target=/var/lib/operavix/data/ \ --mount type=volume,src=operavix-app-log,target=/var/log/operavix/ \ -e JVM_MAX_MEMORY='4G' \ --publish published=8010,target=8010,mode=host \ --limit-memory 30G \ --limit-cpu 2 \ --restart-max-attempts 5 \ --restart-condition "on-failure" \ dockerhub.office.operavix.com/operavix/operavix_app:d230809
Running the Application with HTTPS Operation (Swarm)
When operating in a corporate environment, secure data transmission must be ensured. To achieve this, run the application in HTTPS mode using Docker Swarm and the "secrets" mechanism for storing certificates and passwords.
To start the application over HTTPS using Swarm, perform the following steps: Running the Operavix Application with HTTPS (Swarm) (Swarm)
Was the article helpful?