Ensure the following are installed:
sudo apt install docker.io docker-compose git -y
Typical miner directory looks like:
miner/
βββ .env
βββ compose.yaml
βββ config/
β βββ __init__.py
β βββ config.json
βββ logs/
βββ miner/
β βββ __init__.py
β βββ miner.py
βββ requirements.txt
βββ setup.py
This step provides all environment variables used in the Bittensor Subnet Taoillium project.
Environment variables are configured through aΒ .envΒ file in the project root directory. The configuration is managed byΒ services/config.pyΒ using Pydantic Settings. You can access github link below to read comprehensive documentation.
https://github.com/taoillium/bittensor-subnet-taoillium/blob/main/docs/environment_variables.md
# Copy from example if available, or create manually
# cp env.example .env
# Authentication & API Configuration
SRV_API_URL=https://api.taoillium.ai
# JWT Authentication
NEURON_JWT_SECRET_KEY=your_jwt_secret_key_here
NEURON_JWT_EXPIRE_IN=30
# Network Configuration
CHAIN_NETWORK=finney
CHAIN_NETUID=109
#CHAIN_ENDPOINT=wss://entrypoint-finney.opentensor.ai
# Wallet Configuration
WALLET_NAME=Miner
HOTKEY_NAME=default
# Service ports (will be auto-configured if not present)
MINER_PORT=8091
# Deploy miner service
./docker/deploy.sh miner
# Or with force rebuild
./docker/deploy.sh miner force-build