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_KEY=your_taoillium_api_key_here
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=local
CHAIN_NETUID=2
# 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