Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Better initialization process in container environment #82

Open
4 tasks done
AH-dark opened this issue Jul 11, 2024 · 1 comment
Open
4 tasks done

[Feat]: Better initialization process in container environment #82

AH-dark opened this issue Jul 11, 2024 · 1 comment

Comments

@AH-dark
Copy link

AH-dark commented Jul 11, 2024

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我确定这是一个从未被提出和实现过的功能。
  • 我已经在 Issue Tracker 以及 Pull Request 中找过我要提出的功能,没有找到相同功能的ISSUE和PR。
  • 我已知晓并同意,此处仅用于建议新功能。若这个 Issue 是关于其他非主题的问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。
  • 我已知晓并同意,如果我不按照模板提供的指示进行填写,则我的 Issue 可能会被无条件删除。

需要添加的功能内容

The current initialization relies on stdin input. In a container environment, it can be replaced by trying to read environment variables.

In addition, the existence of /pagermaid/workdir/data/config.yml itself can be a lockfile, so it seems unnecessary to create another lockfile.

@AH-dark
Copy link
Author

AH-dark commented Jul 11, 2024

I can submit a PR if necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant