Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 1.8 KB

README.md

File metadata and controls

75 lines (56 loc) · 1.8 KB

docker compose

A temporary way to run univer servers using docker-compose. This is not intended for production use.


Machine Requirement

  1. CPU: 1 cores
  2. Memory: 2G
  3. Disk: 10G
  4. OS: Linux, Mac

Quick start

  1. Install docker >= 23.0 version.

  2. Clone this repository.

git clone https://github.com/dream-num/helm-charts.git
  1. Change directory to docker-compose.
cd helm-charts/docker-compose
  1. Run docker-compose.
bash run.sh
  1. 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

Use port

service port description
universer 8000 api http server
minio 19000 s3 object storage server
grafana 13000 grafana dashboard server
  1. 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
  1. How to enable observability compoment?
uncomment the following line in .env file:
# COMPOSE_PROFILES=observability
  1. 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