1Panel-dev / 1Panel-dev/1Panel
[Bug] Incorrect display when COMPOSE_PROJECT_NAME does not match the folder name
Open
@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
实际结果:
其中名为 hello-world 的项信息不全。
The expected correct result
预期应该仅存在其中一项,建议与 COMPOSE_PROJECT_NAME 保持一致。
Related log output
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.