https://github.com/nennogabriel/cloudron-balance-bot
Finally I was able to get it working. This bot need a lot of ram I changed to 2GB, but with 10 instances or more, more and more ram could be needed.
To allow the instalation I did all files to run on /app/data to run on a writable environment.
I am sure it is not the best way, but it fits to me for now.