升级到1.13.0之后不能找到db,估计db没有起来,但是不知道如何修改 #33717
frankghe1977
started this conversation in
General
Replies: 1 comment
-
|
这是一个已知的问题。在 v1.13.0 版本中,PostgreSQL 容器名从 解决方法:
DB_HOST=db_postgres
DB_TYPE=postgresql
COMPOSE_PROFILES=${VECTOR_STORE:-weaviate},${DB_TYPE:-postgresql}
DB_USERNAME=postgres
DB_PASSWORD=difyai123456
DB_DATABASE=dify
docker compose down
docker compose --profile postgresql up -d详细信息请参考这个 issue: Database migration failed: (psycopg2.OperationalError) To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
[root@hdss1-232 docker]# docker logs docker-api-1 --follow
Running migrations
Warning! You didn't set docs_url, redoc_url or openapi_url.
API Documentation will be skipped.
Preparing database migration...
Starting database migration.
Database migration failed: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
(Background on this error at: https://sqlalche.me/e/20/e3q8)
Beta Was this translation helpful? Give feedback.
All reactions