Univer
Univer Doc
Backend Services
Deploying to Docker

Deploying with Docker

📊📝📽️ Univer General

Get up and running quickly with our Docker deployment solution for the Univer service, using Docker Compose for a hassle-free setup.

System Requirements

  1. CPU: Single core
  2. RAM: 2GB
  3. Storage: 10GB

Ensure you have Docker version 23 or higher (opens in a new tab).

Technical Stack

Our architecture is built on PostgreSQL and RabbitMQ.

Quick start

Compatible with Linux, Mac, and Windows/WSL environments.

After download license.zip (opens in a new tab), under same folder run

sh -c "$(curl -fsSL https://raw.githubusercontent.com/dream-num/helm-charts/main/install.sh)"

Confirm that the document service has successfully started.

docker run --net=univer-prod --rm --name univer-collaboration-lite -p 3010:3010 univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/release/univer-collaboration-lite:latest

Access http://localhost:3010 (opens in a new tab) in your web browser to create a new blank document, which will then redirect you to the document link (Internet Explorer is not supported).

Example Image

Also, verify the successful startup of the collaboration service.

For a comprehensive test, try accessing it in various browsers or in private browsing mode to experience the full collaborative capabilities.

Example Image

Port Check

Ensure that the specified ports are not in use; if they are, terminate the conflicting processes before attempting to start again.

Default ports for Univer services are listed below:

service NamePort NumberFunction
universer8000Serves API over HTTP
univer-minio9000Acts as the S3 storage server
univer-client3010Provides the frontend interface

Troubleshooting

Having trouble starting on a Windows OS?

The run.sh script operates in a bash environment. To get it up and running, you'll need to use either Git Bash/MinGW or a WSL environment.

Can't use the save-as-table function?

You'll need to tweak the .env file. Set S3_ENDPOINT_PUBLIC to your local network IP to get the save as function to work properly.

- S3_ENDPOINT_PUBLIC=http://univer-minio:9000
+ S3_ENDPOINT_PUBLIC=http://<Your Local Network IP>:19000

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.