Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
此PR有幾點需要注意:
Lagrange.OneBot-docker-push.yml 需要已轉用 github docker registry${{ secrets.DOCKER_USERNAME }}
和${{ secrets.DOCKER_PASSWORD }}
方可生效目前的 Dockerfile 有 30% 概率會出現應該修好了failed unexpectedly
, 再跑一次通常就能成功運行,目前原因未知appsettings.json
采用 array 的原因是因爲容易讓 docker 透過 環境參數 進行操作Lagrange.OneBot/Core/Network/LagrangeWebSvcCollection.cs
新增section["Enable"]
是爲了方便透過 docker 設置 環境參數 選擇使用哪個服務。注意:此改動是很久以前改的,新改動之後尚未知道有無兼容問題