0.3.19版本执行docker-compose up -d时报docker-compose.yaml文件相关错误 #484

Closed
opened 2026-02-21 17:27:20 -05:00 by yindo · 1 comment
Owner

Originally created by @zhangzhanhui on GitHub (Sep 9, 2023).

Dify 0.3.19: Self Host

Steps To Reproduce

1、git clone repo_of_0.3.19

2、执行docker-compose up -d。

第一次报错:
ERROR: The Compose file './docker-compose.yaml' is invalid because:
services.api.depends_on contains an invalid type, it should be an array
services.worker.depends_on contains an invalid type, it should be an array
第二次报错:
ERROR: In file './docker-compose.yaml', service 'title' must be a mapping not a string.

The current behavior

下载了0.3.18的安装包,同样用docker部署没有问题。

The expected behavior

在docker里部署,并能正常访问

Originally created by @zhangzhanhui on GitHub (Sep 9, 2023). <!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest version of the relevant Dify packages to make sure your issue has not already been fixed. --> Dify 0.3.19: Self Host ## Steps To Reproduce 1、git clone repo_of_0.3.19 2、执行docker-compose up -d。 第一次报错: ERROR: The Compose file './docker-compose.yaml' is invalid because: services.api.depends_on contains an invalid type, it should be an array services.worker.depends_on contains an invalid type, it should be an array 第二次报错: ERROR: In file './docker-compose.yaml', service 'title' must be a mapping not a string. ## The current behavior 下载了0.3.18的安装包,同样用docker部署没有问题。 ## The expected behavior 在docker里部署,并能正常访问
yindo closed this issue 2026-02-21 17:27:20 -05:00
Author
Owner

@crazywoola commented on GitHub (Sep 11, 2023):

We have upgrade to v0.3.22 please pull the latest code and cleanup your docker images and volumes as well and try again. You can reopen this issue if this persists.

@crazywoola commented on GitHub (Sep 11, 2023): We have upgrade to v0.3.22 please pull the latest code and cleanup your docker images and volumes as well and try again. You can reopen this issue if this persists.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#484