91 lines
2.4 KiB
Markdown
91 lines
2.4 KiB
Markdown
|
|
# Quorum Network Setup - DNS Fix Complete
|
||
|
|
|
||
|
|
## ✅ Completed Steps
|
||
|
|
|
||
|
|
### 1. DNS Configuration Fixed
|
||
|
|
- ✅ Updated `/etc/resolv.conf` with reliable DNS servers (8.8.8.8, 8.8.4.4, 1.1.1.1)
|
||
|
|
- ✅ Created `/etc/wsl.conf` to prevent WSL from overwriting DNS settings
|
||
|
|
- ✅ DNS fix script created: `fix-dns-now.sh`
|
||
|
|
|
||
|
|
### 2. Docker Connectivity Verified
|
||
|
|
- ✅ Docker is running (version 29.0.2)
|
||
|
|
- ✅ Docker Compose is working (version v2.40.3)
|
||
|
|
- ✅ Docker can now pull images (DNS resolution working)
|
||
|
|
|
||
|
|
### 3. Network Startup Initiated
|
||
|
|
- ✅ Lock file removed
|
||
|
|
- ✅ Docker Compose configuration validated
|
||
|
|
- ✅ Image pulling started successfully
|
||
|
|
|
||
|
|
## 📋 Next Steps
|
||
|
|
|
||
|
|
### To Start the Network:
|
||
|
|
|
||
|
|
1. **Pull all required images** (this may take a few minutes):
|
||
|
|
```bash
|
||
|
|
cd /home/intlc/projects/quorum-test-network
|
||
|
|
docker compose pull
|
||
|
|
```
|
||
|
|
|
||
|
|
2. **Start the network**:
|
||
|
|
```bash
|
||
|
|
./run.sh
|
||
|
|
```
|
||
|
|
|
||
|
|
Or manually:
|
||
|
|
```bash
|
||
|
|
docker compose up --detach
|
||
|
|
```
|
||
|
|
|
||
|
|
3. **Check network status**:
|
||
|
|
```bash
|
||
|
|
docker compose ps
|
||
|
|
./list.sh # List endpoints and services
|
||
|
|
```
|
||
|
|
|
||
|
|
### If You Still Encounter DNS Issues:
|
||
|
|
|
||
|
|
1. **Configure Docker Desktop DNS** (if using Docker Desktop):
|
||
|
|
- Open Docker Desktop
|
||
|
|
- Settings → Docker Engine
|
||
|
|
- Add: `"dns": ["8.8.8.8", "8.8.4.4", "1.1.1.1"]`
|
||
|
|
- Apply & Restart
|
||
|
|
|
||
|
|
2. **Restart WSL** (from Windows PowerShell):
|
||
|
|
```powershell
|
||
|
|
wsl --shutdown
|
||
|
|
```
|
||
|
|
Then restart your WSL terminal.
|
||
|
|
|
||
|
|
## 📁 Files Created
|
||
|
|
|
||
|
|
- `fix-dns-now.sh` - Quick DNS fix script
|
||
|
|
- `quick-dns-fix.sh` - Comprehensive DNS fix script
|
||
|
|
- `fix-docker-dns.sh` - Full DNS and Docker daemon configuration
|
||
|
|
- `DOCKER_DNS_FIX.md` - Complete DNS troubleshooting guide
|
||
|
|
- `configure-docker-desktop-dns.md` - Docker Desktop DNS configuration guide
|
||
|
|
- `SETUP_COMPLETE.md` - This file
|
||
|
|
|
||
|
|
## 🔍 Network Services
|
||
|
|
|
||
|
|
The Quorum network includes:
|
||
|
|
- **Validators**: validator1, validator2, validator3, validator4
|
||
|
|
- **RPC Node**: rpcnode
|
||
|
|
- **EthSigner Proxy**: ethsignerProxy
|
||
|
|
- **Explorer**: Quorum Explorer
|
||
|
|
- **Blockscout**: Block explorer
|
||
|
|
- **Monitoring**: Prometheus, Grafana, Loki, Promtail
|
||
|
|
|
||
|
|
## 🌐 Endpoints (After Startup)
|
||
|
|
|
||
|
|
- JSON-RPC HTTP: http://localhost:8545
|
||
|
|
- JSON-RPC WebSocket: ws://localhost:8546
|
||
|
|
- Web Block Explorer: http://localhost:25000/explorer/nodes
|
||
|
|
- Grafana: http://localhost:3000
|
||
|
|
- Prometheus: http://localhost:9090
|
||
|
|
|
||
|
|
## ⚠️ Note
|
||
|
|
|
||
|
|
The `version` attribute in `docker-compose.yml` is obsolete. You can remove it to eliminate the warning, but it won't affect functionality.
|
||
|
|
|