Skip to content

Commit b7a22b0

Browse files
committed
docs: Add network management commands section to TFGrid compose guide
1 parent 96f0ff2 commit b7a22b0

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

docs/guides/tfgrid-compose.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ Application loaded: tfgrid-ai-stack v0.12.0-dev
127127
| `t help` | Show help message | `t help` |
128128
| `t shortcut <name>` | Create command alias | `t shortcut tf` |
129129
| `t search [query]` | Search apps in registry | `t search ai` |
130-
| `t list` | List deployed apps (Docker-style) | `t list` |
131-
| `t ps` | Docker-style deployment inspection for tracked deployments | `t ps` |
132-
| `t ps --all` | Show all tracked deployments (including non-active) | `t ps --all` |
130+
| `t ps` | List deployments with timestamps & ages | `t ps` |
131+
| `t ps --all` | Show all deployments with active contracts (including incomplete) | `t ps --all` |
133132
| `t ps --outside` | Show grid contracts not tracked in local registry (SOURCE=outside) | `t ps --outside` |
134133
| `t select [app]` | Select active app (supports partial IDs) | `t select tfgrid-ai-stack` |
135134
| `t select --force [id]` | Force select incomplete/failed deployments | `t select --force e0c` |
@@ -167,7 +166,26 @@ Application loaded: tfgrid-ai-stack v0.12.0-dev
167166
| `t contracts orphans --delete` | Delete orphaned contracts | `t contracts orphans --delete` |
168167
| `t contracts clean -i` | Interactive cleanup | `t contracts clean -i` |
169168
| `t state list` | List state directories | `t state list` |
170-
| `t state clean` | Remove orphaned state dirs | `t state clean` |
169+
| `t state clean` | Remove orphaned state dirs and registry entries | `t state clean` |
170+
171+
### Network Management Commands
172+
173+
| Command | Description | Example |
174+
|---------|-------------|---------|
175+
| `t network prefer <network>` | Set preferred runtime network | `t network prefer mycelium` |
176+
| `t network mode <mode>` | Set provisioning mode | `t network mode mycelium-only` |
177+
| `t network get` | Show current network settings | `t network get` |
178+
| `t network list` | List available networks and modes | `t network list` |
179+
| `t network test` | Test connectivity to both networks | `t network test` |
180+
181+
**Available Networks:**
182+
- `wireguard` - WireGuard VPN overlay network
183+
- `mycelium` - Mycelium global IPv6 network
184+
185+
**Available Modes:**
186+
- `wireguard-only` - Only provision WireGuard network
187+
- `mycelium-only` - Only provision Mycelium network
188+
- `both` - Provision both networks (default)
171189

172190
## Update and Cache Commands
173191

0 commit comments

Comments
 (0)