/freeton-node-docker

FreeTON node (https://freeton.org/)

Primary LanguageDockerfile

Telegram Open Network Node

Validate codeDocker Pulls

Dockerfile for FreeTON Node

https://freeton.org/

https://github.com/tonlabs/main.ton.dev

Open firewall

ufw allow 43679/udp

Build

It's recommended to build this on same machine where you plan to run it.

git clone https://github.com/varnav/freeton-node-docker.git
cd freeton-node-docker
docker build -t varnav/freeton-node .

Run interactively

docker run --rm -it -v freeton-db:/var/ton-work -v /opt/freeton:/home/ton -p 43678:43678 -p 43679:43679 varnav/freeton-node

Run as daemon

docker run -d --restart=unless-stopped --name freeton -v freeton-db:/var/ton-work -v /opt/freeton:/home/ton -p 43678:43678 -p 43679:43679 varnav/freeton-node

Check status

docker exec -it freeton ./check_node_sync_status.sh

Generate address

docker exec -it freeton ./msig_genaddr.sh

Clean all

docker rm --force freeton
docker volume rm freeton-db
docker image rm varnav/freeton-node

Run with kubernetes

kubectl apply -f .\kubernetes-deployment.yml
kubectl expose deployment freeton-node --type LoadBalancer

License

MIT