feat: 更新环境变量配置,添加 S3 和 PGVector 相关设置,调整 docker-compose 文件端口映射

This commit is contained in:
2026-09-02 14:36:32 +08:00
parent edd0e7b1ac
commit e522dc8c1d
3 changed files with 38 additions and 12 deletions
+13 -1
View File
@@ -2,6 +2,16 @@ CLIPROXY_API_KEY=replace-with-the-key-from-cliproxyapi-config
GEMINI_API_KEY=replace-with-your-gemini-api-key
JUPYTER_TOKEN=replace-with-a-strong-random-token
OPEN_TERMINAL_API_KEY=replace-with-a-strong-random-key
WEBUI_SECRET_KEY=replace-with-the-existing-open-webui-secret-key
STORAGE_PROVIDER=s3
S3_ACCESS_KEY_ID=replace-with-an-oss-ram-access-key-id
S3_SECRET_ACCESS_KEY=replace-with-an-oss-ram-access-key-secret
S3_ENDPOINT_URL=https://oss-ap-southeast-1.aliyuncs.com
S3_REGION_NAME=ap-southeast-1
S3_BUCKET_NAME=replace-with-your-oss-bucket-name
S3_ADDRESSING_STYLE=virtual
VECTOR_DB=pgvector
PGVECTOR_DB_URL=postgresql://openwebui:replace-with-url-encoded-password@rds-host:5432/openwebui?sslmode=require
WEBUI_AUTH=true
ENABLE_LOGIN_FORM=true
@@ -13,4 +23,6 @@ GOOGLE_CLIENT_ID=replace-with-your-google-client-id
GOOGLE_CLIENT_SECRET=replace-with-your-google-client-secret
GOOGLE_REDIRECT_URI=http://localhost:3000/oauth/google/callback
GOOGLE_OAUTH_SCOPE=openid email profile
OAUTH_ALLOWED_DOMAINS=example.com
OAUTH_ALLOWED_DOMAINS=example.com
DATABASE_URL=postgresql://openwebui:已URL编码的密码@你的RDS地址:5432/openwebui?sslmode=require