Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 845 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 845 Bytes

About

TON Testner Wrapper that allow to use TON via REST api

Implementation for BUTTON Wallet Bot

Build

  • 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)
  1. Add addresses of hosts with workers (instance of api - wrappers/main.go). You should edit this line before build

  2. Then you can build and run

# docker build -f Dockerfile.rr_lb -t username/imagename .
# docker run username/imagename

Warning

Do not use that in production. Demo purposes only.