A temporary way to run univer servers using docker-compose. This is not intended for production use.
- CPU: 1 cores
- Memory: 2G
- Disk: 10G
- OS: Linux, Mac
-
Install docker >= 23.0 version.
-
Clone this repository.
git clone https://github.com/dream-num/helm-charts.git
- Change directory to
docker-compose
.
cd helm-charts/docker-compose
- Run docker-compose.
bash run.sh
- You can use our demo to try.
docker pull univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/release/univer-collaboration-lite:latest
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
# Open URL: http://localhost:3010
service | port | description |
---|---|---|
universer | 8000 | api http server |
minio | 19000 | s3 object storage server |
grafana | 13000 | grafana dashboard server |
- How to deal "Save as" error?
Replace localhost with the local IP for S3_ENDPOINT_PUBLIC config in .env file, it make people can use Download as in local area network.
# Example: S3_ENDPOINT_PUBLIC=http://127.0.0.1:9000
# Replace to: S3_ENDPOINT_PUBLIC=http://192.168.50.172:19000
- How to enable observability compoment?
uncomment the following line in .env file:
# COMPOSE_PROFILES=observability
- How to deal with host port conflict?
# change the host ports in .env file:
HOST_NGINX_PORT=8000
HOST_MINIO_PORT=19000
HOST_GRAFANA_PORT=13000