Internal Components Setup

GitHubEdit on GitHub

Setup default password

The default password is only effective during the initial installation. Once the installation is successful, it cannot be changed through the steps we provide next. However, you can try changing it using the official guide for the component.

After add .env.custom file, you can install service by:

bash run.sh

After write a values.yaml file, you can install service by:

values.yaml
helm install -n univer --create-namespace \
  --set global.istioNamespace="univer" \
  --values values.yaml \
  univer-stack oci://univer-acr-registry.cn-shenzhen.cr.aliyuncs.com/helm-charts/univer-stack
kubectl rollout restart -n univer deployment/collaboration-server
kubectl rollout restart -n univer deployment/universer

PostgreSQL

Write to the .env.custom

.env.custom
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=postgres

It only can change admin password , the default admin username is postgres. Write to the values.yaml

values.yaml
global:
  postgresql:
    auth:
      postgresPassword: postgres

universer:
  config:
    database:
      username: postgres
      password: postgres

temporal:
  server:
    config:
      persistence:
        default:
          sql:
            user: postgres
            password: postgres

        visibility:
          sql:
            user: postgres
            password: postgres

RabbitMQ

Write to the .env.custom

.env.custom
RABBITMQ_USERNAME=guest
RABBITMQ_PASSWORD=guest

Write to the values.yaml

values.yaml
rabbitmq:
  auth:
    username: guest
    password: guest

universer:
  config:
    rabbitmq:
      username: guest
      password: guest

S3

Write to the .env.custom

.env.custom
S3_USER=minio
S3_PASSWORD=minio123456

Write to the values.yaml file

values.yaml
minio:
  auth:
    rootUser: admin
    rootPassword: minioadmin

universer:
  config:
    s3:
      accessKeyID: admin
      accessKeySecret: minioadmin