1Panel-dev / 1Panel-dev/1Panel

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

Open
#12,754 2 comments 0 reactions 2 assignees View on GitHub

@ssongliu is already working on this.

Since Jun 16, 2026.

type: optimization
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.