Skip to content

[Bug] Incorrect display when COMPOSE_PROJECT_NAME does not match the folder name #12754

@jbwfu

Description

@jbwfu

Contact Information

No response

1Panel Version

2.1.12

Problem Description

自定义 COMPOSE_PROJECT_NAME 与文件夹名不一致时出现与文件夹名称同名的错误编排项

Steps to Reproduce

创建如下配置:

  • 文件夹:hello-world
  • yaml:
services:
  hello:
    image: hello-world
  • 环境变量:COMPOSE_PROJECT_NAME=hello

实际结果:

Image

其中名为 hello-world 的项信息不全。

The expected correct result

预期应该仅存在其中一项,建议与 COMPOSE_PROJECT_NAME 保持一致。

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions