Built-in Components Configuration
This page applies only if you use Univer built-in components (PostgreSQL, RabbitMQ, MinIO). These credentials only take effect during the first initialization. After deployment, update passwords via each component's official procedure.
Change Default Passwords
Configure these before the first deployment. Existing instances will not change passwords automatically.
Create .env.custom in the install directory, then run:
Bash
bash run.shCreate values.yaml, then run:
Shell
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-stackkubectl rollout restart -n univer deployment/collaboration-serverkubectl rollout restart -n univer deployment/universerPostgreSQL
PROPERTIES
DATABASE_USERNAME=postgresDATABASE_PASSWORD=postgresYAML
global: postgresql: auth: postgresPassword: postgresuniverser: config: database: username: postgres password: postgrestemporal: server: config: persistence: default: sql: user: postgres password: postgres visibility: sql: user: postgres password: postgresNotes:
- Only effective on the first initialization.
- In K8s, only the admin password can be configured; the default admin user is
postgres. universerandtemporalshould use the same database credentials.
RabbitMQ
PROPERTIES
RABBITMQ_USERNAME=guestRABBITMQ_PASSWORD=guestYAML
rabbitmq: auth: username: guest password: guestuniverser: config: rabbitmq: username: guest password: guestNotes:
- Default username is
guest. Change it for production. - After updating RabbitMQ credentials, update
universerconfig accordingly.
S3 (MinIO)
PROPERTIES
S3_USER=minioS3_PASSWORD=minio123456YAML
minio: auth: rootUser: admin rootPassword: minioadminuniverser: config: s3: accessKeyID: admin accessKeySecret: minioadminNotes:
rootUser/rootPasswordare MinIO admin credentials.accessKeyID/accessKeySecretmust match the MinIO account.
How is this guide?