Skip to content

When starting the middleware using middleware.env, the database container is not pulled. #28540

@ACAne0320

Description

@ACAne0320

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

main

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Execute docker compose --env-file middleware.env -f docker-compose.middleware.yaml -p dify up -d

In #28188 , only the .env.example file includes the COMPOSE_PROFILES=${DB_TYPE:-postgresql} parameter.
This prevents middleware.env from reading the correct profile parameters, resulting in the database container failing to be pulled.

✔️ Expected Behavior

All middleware containers should start normally.

❌ Actual Behavior

The database container has not been pulled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions