Skip to content

Single Container Installation ​

You need to install Docker first, please refer to the Docker official website for the installation process.

x86_64 Architecture Installation ​

Download Docker Image for Local Installation ​

Example (Version 2.26)

shell
$  curl -O https://repo.ainformat.com/downloads/installer/docker/images/x86_64/informat-centos7-2.26.tar

Load Image ​

shell
$  docker load < informat-centos7-2.26.tar

Start Container ​

shell
docker run -d --name informat  \
-p 80:80 \
-p 3000:3000 \
-p 5432:5432 \
-p 8080:8080 \
-p 9002:9002  \
-p 19001:19001  \
-v /data:/data cornerstone365/informat-centos7:2.26

TIP

  • -p 80:80 Port 80 is the Informat Web service port
  • -p 3000:3000 Port 3000 is the Informat server monitoring port
  • -p 5432:5432 Port 5432 is the database port
  • -p 8080:8080 Port 8080 is the Informat version upgrade service port
  • -p 9002:9002 Port 9002 is the document preview service port
  • -p 19001:19001 Port 19001 is the MinIO file service port
  • -v /data:/data The left /data refers to the data storage path on the host, which can be modified according to actual conditions

arm Architecture Installation ​

Download Docker Image for Local Installation ​

Example (Version 2.26)

shell
$  curl -O https://repo.ainformat.com/downloads/installer/docker/images/arm64/informat-ubuntu2204-2.26-arm.tar

Load Image ​

shell
$  docker load < informat-ubuntu2204-2.26-arm.tar

Start Container ​

shell
docker run -d --name informat --privileged \
-p 80:80 \
-p 3000:3000 \
-p 8080:8080 \
-p 9002:9002  \
-p 19001:19001  \
-v /data:/data cornerstone365/informat-ubuntu2204:2.26

TIP

  • -p 80:80 Port 80 is the Informat Web service port
  • -p 3000:3000 Port 3000 is the Informat server monitoring port
  • -p 8080:8080 Port 8080 is the Informat version upgrade service port
  • -p 9002:9002 Port 9002 is the document preview service port
  • -p 19001:19001 Port 19001 is the MinIO file service port
  • -v /data:/data The left /data refers to the data storage path on the host, which can be modified according to actual conditions

/data Directory Introduction ​

To prevent accidental deletion of data such as databases and attachments when deleting containers, we can mount the /data directory inside the container to the /data directory on the host.

The /data directory structure is as follows:

shell
├── informat-next
│   ├── app  App logs
│   ├── app_backup  Application backup directory
│   ├── file_storage  Local sandbox environment
│   ├── index_storage  Search engine full-text retrieval
│   └── log  Informat running logs
├── minio_home  Shared storage directory
└── pgsql  Database data directory

Access Informat Service ​

Browser address: http://server-ip

Configure Informat Service ​

Open Informat Admin Backend in Browser ​

http://server-ip/admin

Configure Homepage URL ​

Open "System Information >> Parameter Settings", find "Homepage URL"

Configure File Preview Service ​

Open "System Information >> Parameter Settings", find "File Preview Service"

Common Issues ​

How to know if the service has started completely?

The first startup will be slower. You can check if the Informat service has started completely by viewing /data/informat-next/log/informat-biz.log You can access the homepage http://server-ip normally

How to view Informat logs

Logs of Informat running instances are in the /data/informat-next/log directory

How to restart the container

How to restart the service after the host machine restarts?

shell
docker start informat