Skip to content

Commit 72f5bef

Browse files
committed
Update localization and Docker configurations
- Enhanced error and success messages in the login process with internationalization support. - Updated `docker-compose.demo.yml` to switch from using pre-built images to building from Dockerfiles for the queue worker, app, and markitdown services, improving flexibility in development.
1 parent b708b3f commit 72f5bef

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docker-compose.demo.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ services:
157157
REDIS_URL: ${REDIS_URL:-redis://redis:6379}
158158
# 数据库连接:在容器内必须使用 postgres 服务名而不是 localhost
159159
# 从环境变量提取数据库凭证,但使用 postgres 作为主机名
160-
DATABASE_URL: postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres:5432/${POSTGRES_DB:-deepmed}
161-
160+
DATABASE_URL: ${DATABASE_URL}
162161
# 加密密钥(必需:用于解密用户配置的 API keys)
163162
ENCRYPTION_KEY: ${ENCRYPTION_KEY}
164163

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ services:
136136
# 注意:在 Docker 容器内使用服务名 postgres 而不是 localhost
137137
REDIS_URL: ${REDIS_URL:-redis://redis:6379}
138138
# 数据库连接:在容器内必须使用 postgres 服务名而不是 localhost
139-
# 从环境变量提取数据库凭证,但使用 postgres 作为主机名
140-
DATABASE_URL: postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres:5432/${POSTGRES_DB:-deepmed}
139+
140+
DATABASE_URL: ${DATABASE_URL}
141141

142142
# 加密密钥(必需:用于解密用户配置的 API keys)
143143
ENCRYPTION_KEY: ${ENCRYPTION_KEY}

0 commit comments

Comments
 (0)