Navigation:  Additional procedures > SoftExpert Capture service >

SoftExpert Capture service (HTTP)

Previous  Top  Next

This topic will show how to configure the SoftExpert Capture service with HTTP protocol in port 8587. To do that, take the following steps:

 

1.Create the secaptureservice directory:

mkdir /usr/local/se/secaptureservice

 

2.Access the secaptureservice directory:

cd /usr/local/se/secaptureservice

 

3.Create the docker-compose.yml file inside the secaptureservice directory.

vim docker-compose.yml

 

4.Paste the following text:

version: '3.7'

services:

secaptureservice:

  container_namesecaptureservice

  image: softexpert/secaptureservice:latest   

restart: always

  extra_hosts:

  - AccessURL:ServerIP

  environment:

   - ASPNETCORE_URLS=http://+:80

  ports:

  - "${HTTP_PORT}:80"

  volumes:

  - ./log:/app/log/

 

5.Find the extra_hosts parameter.

 

6.Insert the SE access URL and the local IP of the application server, as shown in the image below:

Extra-Hosts-HTTP

 

7.Save the changes with:

wq!:

 

8.Create the capture.env file inside the secaptureservice directory.

Vim capture.env

 

9.Insert the following text, indicating the port that will be used for connection:

HTTP_PORT=8587

 

By default, the port used for HTTP connection is 8587, but it is possible to set a different port, if the default one is already being used. In this case, use the netstat -lnp | grep "8587" command to check if the port is being used.

 

10.Start the SoftExpert Capture service using the command below:

cd /usr/local/se/secaptureservice/ ; docker-compose --env-file capture.env up -d

 

To stop the service, execute the command below:

cd /usr/local/se/secaptureservice/ ; docker-compose --env-file capture.env down

 

To check if the secaptureservice service is up, execute the command below:

docker ps

 

11.After doing that, access the SoftExpert Document component arrowrgray Configuration arrowrgray General parameters (DC035) and point the service in the application by entering https://ServerIP:8587 in the Enable SE Capture service redirection arrowrgray Server field.

 

12.Then, run the connection text and save.