sudo apt update -y && sudo apt upgrade -y
sudo apt install ca-certificates zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev tmux iptables curl nvme-cli git wget make jq libleveldb-dev build-essential pkg-config ncdu tar clang bsdmainutils lsb-release libssl-dev libreadline-dev libffi-dev jq gcc screen unzip lz4 -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get install docker-ce docker-ce-cli containerd.io
VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
Docker Permission to User
sudo usermod -aG docker $USER
Change : your_private_key : METAMASK Private Key
Δ°f you want use moksha : Change : satori to moksha | For example : export VANA_NETWORK=moksha
export VANA_PRIVATE_KEY=your_private_key
export VANA_NETWORK=moksha
Crate docker-compose.yml for Docker
Only Paste it ! - Dont Change Anyting :
version: '3.8'
services:
ollama:
image: ollama/ollama:0.3.12
ports:
- "11435:11434"
volumes:
- ollama:/root/.ollama
restart: unless-stopped
sixgpt3:
image: sixgpt/miner:latest
ports:
- "3015:3000"
depends_on:
- ollama
environment:
- VANA_PRIVATE_KEY=${VANA_PRIVATE_KEY}
- VANA_NETWORK=${VANA_NETWORK}
restart: always
volumes:
ollama:
CTRL X + CRTL Y + ENTER ! - Saved !
docker compose logs -fn 100