TON Testner Wrapper that allow to use TON via REST api
Implementation for BUTTON Wallet Bot
- Worker
Build and run
# docker build -f Dockerfile.worker -r username/imagename .
# sudo docker run -v /mnt/filedir/masterchain:/app/wrappers/scripts/masterchain -v /mnt/filedir/basechain:/app/wrappers/scripts/basechain -e WORKDIR=/app/wrappers/scripts -d -p 80:80 username/imagename
- Load balancer (Round Robin)
-
Add addresses of hosts with workers (instance of api - wrappers/main.go). You should edit this line before build
-
Then you can build and run
# docker build -f Dockerfile.rr_lb -t username/imagename .
# docker run username/imagename
Do not use that in production. Demo purposes only.