Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

PostgreSQL 官方镜像要求的环境变量名是 POSTGRES_PASSWORD

chen hui4420e0cd80dc
diff --git a/deploy/enterprise/templates/postgresql.template.yaml b/deploy/enterprise/templates/postgresql.template.yaml
index f928d1cdb2..ceb5152f95 100644
--- a/deploy/enterprise/templates/postgresql.template.yaml
+++ b/deploy/enterprise/templates/postgresql.template.yaml
@@ -50,9 +50,9 @@ spec:
- -c
- max_connections=<<POSTGRESQL_MAX_CONNECTION>>
env:
- - name: POSTGRESQL_PASSWORD
+ - name: POSTGRES_PASSWORD
value: "<<POSTGRESQL_PASSWORD>>"
- - name: POSTGRESQL_HOST_AUTH_METHOD
+ - name: POSTGRES_HOST_AUTH_METHOD
value: "scram-sha-256"
- name: TZ
value: "<<TIMEZONE>>"