-
I am a bit confused. OneDev creates cache inside
/opt/onedev/site/cache. If you mounted/opt/onedevto a different volume, the cache folder should also resides on that volume. I tested at my side and it works this way. -
Thanks for letting me know.
-
Previous Value Current Value Open
Closed
-
No, in fact please reopen it: I am testing it with another build with
BUILDKITinactivated and the space on boot disk is still shrinking (not at the same pace than before but still). Don't you think docker is the culprit, writing stuff in its image cache? Also remember: I am using the Server Shell job executor. -
If docker writes stuff to boot volume, it is out of OneDev's control. It is not an issue of OneDev's cache. You may need to figure out which folder docker is written its temp file and then mount that folder to a different volume directly on the host machine (since OneDev docker operation is relayed to host machine).
| Type |
Improvement
|
| Priority |
Major
|
| Assignee |
/and/homeare located) is limited in space, I have put OneDev's data folder (/opt/onedev) in another volumeI think it would be useful to be able to bind OneDev's internal cache system to a volume in the
docker-compose.ymlfile, as is usual in many self-hosted applications.