Skip to content

[Feature] Add support for copying variables from a .env file to environment variables #12907

@Pimeng

Description

@Pimeng

1Panel Version

v2.1.13

Please describe your needs or suggestions for improvements

从本地配置好的项目直接导入到1Panel的运行环境中,希望能够直接复制本地环境的 .env 到 1Panel 中,并能直接解析,也能直接点击复制为 .env 的格式,对于迁移项目会很有帮助

Please describe the solution you suggest

在粘贴添加一个监听器(?),然后对粘贴过来的内容进行解析,成功则直接填入配置,失败则默认填入输入框

Image

Additional Information

No response

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions