Tested operating systems:
- Ubuntu 20.04
- Ubuntu 22.04
- Ubuntu 24.04
- Debian 11
- Debian 12
To run, you need docker-ce, docker-buildx-plugin, docker-compose-plugin:
Build environment variables (are configured in the .env file):
- GLOBAL_CONFIG_URL - URL of the TON blockchain configuration (default: Testnet)
- MYTONCTRL_VERSION - MyTonCtrl build branch
- TELEMETRY - Enable/Disable telemetry
- IGNORE_MINIMAL_REQS - Ignore hardware requirements
- MODE - Install MyTonCtrl with specified mode (validator or liteserver)
Run MyTonCtrl v2 in Docker:
- Clone:
git clone https://github.com/fmira21/ton-docker-ctrl.git && cd ./ton-docker-ctrl
- Run:
docker compose up --build -d
- Connect
docker compose exec -it node bash -c "mytonctrl"
Upgrade MyTonCtrl:
- Build new image:
docker compose build ton-node
- Run new version:
docker compose up -d