OpenClaw setup, Arrio deployment, WhatsApp MCP server, DNS/Traefik entries, communication style prompts (v1+v2), WhatsApp monitoring system plan, and OpenClaw upgrade protection strategy. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
85 lines
2.0 KiB
Markdown
85 lines
2.0 KiB
Markdown
# DNS & Traefik Configuration - youtube.nuc.lan and business.nuc.lan
|
|
|
|
**Date:** 2026-02-12
|
|
**Context:** Added two new DNS entries on OpenWrt router and corresponding Traefik routes for youtube and business services.
|
|
|
|
## Changes Made
|
|
|
|
### 1. OpenWrt Router DNS Entries
|
|
|
|
Added two new domain entries via UCI:
|
|
|
|
```bash
|
|
uci add dhcp domain
|
|
uci set dhcp.@domain[-1].name="youtube.nuc.lan"
|
|
uci set dhcp.@domain[-1].ip="192.168.1.3"
|
|
|
|
uci add dhcp domain
|
|
uci set dhcp.@domain[-1].name="business.nuc.lan"
|
|
uci set dhcp.@domain[-1].ip="192.168.1.3"
|
|
|
|
uci commit dhcp
|
|
/etc/init.d/dnsmasq restart
|
|
```
|
|
|
|
**Verification:**
|
|
```bash
|
|
ssh -i ~/.ssh/id_ed25519_nuc root@192.168.1.1 'uci show dhcp | grep -E "youtube|business"'
|
|
# Output:
|
|
# dhcp.@domain[26].name='youtube.nuc.lan'
|
|
# dhcp.@domain[27].name='business.nuc.lan'
|
|
```
|
|
|
|
### 2. Traefik Routes Added
|
|
|
|
Updated `/traefik/dynamic/nuc-services.yaml` on coolify-proxy with two new routers and services:
|
|
|
|
**Router entries:**
|
|
```yaml
|
|
youtube:
|
|
rule: Host(`youtube.nuc.lan`)
|
|
entryPoints:
|
|
- http
|
|
service: youtube
|
|
|
|
business:
|
|
rule: Host(`business.nuc.lan`)
|
|
entryPoints:
|
|
- http
|
|
service: business
|
|
```
|
|
|
|
**Service entries:**
|
|
```yaml
|
|
youtube:
|
|
loadBalancer:
|
|
servers:
|
|
- url: http://host.docker.internal:7107
|
|
|
|
business:
|
|
loadBalancer:
|
|
servers:
|
|
- url: http://host.docker.internal:7108
|
|
```
|
|
|
|
## Verification Results
|
|
|
|
- **DNS Entry Check:** Both entries exist in router config ✓
|
|
- **Traefik Route Test (youtube):** Bad Gateway (502) - expected, no service running yet ✓
|
|
- **Traefik Route Test (business):** Bad Gateway (502) - expected, no service running yet ✓
|
|
|
|
## Access
|
|
|
|
Once services are deployed on ports 7107 and 7108:
|
|
|
|
- `http://youtube.nuc.lan` → `http://host.docker.internal:7107`
|
|
- `http://business.nuc.lan` → `http://host.docker.internal:7108`
|
|
|
|
Both work from LAN and Tailscale (via split DNS to router).
|
|
|
|
## Related
|
|
|
|
- Traefik config: `/data/coolify/proxy/dynamic/nuc-services.yaml`
|
|
- OpenWrt router: `192.168.1.1`
|
|
- Router SSH key: `~/.ssh/id_ed25519_nuc`
|