Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 1.42 KB

README-CN.md

File metadata and controls

70 lines (53 loc) · 1.42 KB

docker compose

使用Docker Compose 运行 Univer 服务端。


Machine Requirement

  1. CPU: 1核
  2. 内存: 2G
  3. 磁盘:10G
  4. 系统: Linux, Mac

Quick start

  1. 安装 docker >= 23 版本.

  2. 克隆本仓库.

git clone https://github.com/dream-num/helm-charts.git
  1. 进入 docker-compose 目录.
cd helm-charts/docker-compose
  1. 启动服务.
bash run.sh
  1. 可以利用我们提供的demo打开对应的表格.
bash run.sh start-demo-ui

Use port

service port description
universer 8000 api http server
minio 19000 s3 object storage server
grafana 13000 grafana dashboard server
  1. 怎么解决文件“另存为”保存失败问题?
替换 .env 文件的 S3_ENDPOINT_PUBLIC 为本机 ip,才能使局域网内另存为功能正常。

# 如 S3_ENDPOINT_PUBLIC=http://univer-minio:9000
# 替换为 S3_ENDPOINT_PUBLIC=http://192.168.50.172:19000
  1. 怎么启动可观测性组件?
在 .env 文件中设置:
ENABLE_UNIVER_OBSERVABILITY=true
  1. 怎么解决端口冲突?
在 .env 文件中修改端口:
HOST_NGINX_PORT=8000
HOST_MINIO_PORT=19000
HOST_GRAFANA_PORT=13000