使用Docker Compose 运行 Univer 服务端。
- CPU: 1核
- 内存: 2G
- 磁盘:10G
- 系统: Linux, Mac
-
安装 docker >= 23 版本.
-
克隆本仓库.
git clone https://github.com/dream-num/helm-charts.git
- 进入
docker-compose
目录.
cd helm-charts/docker-compose
- 启动服务.
bash run.sh
- 可以利用我们提供的demo打开对应的表格.
bash run.sh start-demo-ui
service | port | description |
---|---|---|
universer | 8000 | api http server |
minio | 19000 | s3 object storage server |
grafana | 13000 | grafana dashboard server |
- 怎么解决文件“另存为”保存失败问题?
替换 .env 文件的 S3_ENDPOINT_PUBLIC 为本机 ip,才能使局域网内另存为功能正常。
# 如 S3_ENDPOINT_PUBLIC=http://univer-minio:9000
# 替换为 S3_ENDPOINT_PUBLIC=http://192.168.50.172:19000
- 怎么启动可观测性组件?
在 .env 文件中设置:
ENABLE_UNIVER_OBSERVABILITY=true
- 怎么解决端口冲突?
在 .env 文件中修改端口:
HOST_NGINX_PORT=8000
HOST_MINIO_PORT=19000
HOST_GRAFANA_PORT=13000