Phase 1a — Gradient Removal: - Replaced all gradient-button/gradient-card with glass-button/path-option-card - Removed banned gradient CSS classes Phase 1b — Security Hardening: - SecretsManager: AES-256-GCM encryption (core/security) - electrs_status: credentials from env vars instead of hardcoded - port_manager: RwLock proper error handling (no unwrap) - Pinned all 11 :latest manifest images to specific versions - parmanode converter: pinned inferred image versions Phase 1c — Code Quality: - Split rpc.rs (1795 lines) into 6 handler modules (auth, node, container, package, peers) - Removed sideload code (UI, store, RPC client, 3 doc files) - Fixed body background flash on logout/refresh - Replaced 30 TypeScript `any` types with proper types - Deleted HelloWorld.vue, removed TODO comments - Added set -euo pipefail to all shell scripts - Made deploy script verbose with timestamps and elapsed time Also adds: - CLAUDE.md project guide - docs/three-mode-ui-design.md — design spec for Easy/Pro/Chat UI modes - OnlineStatusPill component Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
65 lines
1.4 KiB
YAML
65 lines
1.4 KiB
YAML
app:
|
|
id: router
|
|
name: Mesh Router
|
|
version: 1.0.0
|
|
description: Mesh routing and local network management. Provides device discovery, routing, and network topology visualization.
|
|
|
|
container:
|
|
image: archipelago/router:1.0.0
|
|
image_signature: cosign://...
|
|
pull_policy: if-not-present
|
|
|
|
dependencies:
|
|
- storage: 500Mi
|
|
|
|
resources:
|
|
cpu_limit: 2
|
|
memory_limit: 512Mi
|
|
disk_limit: 500Mi
|
|
|
|
security:
|
|
capabilities: [NET_ADMIN, NET_RAW] # Required for network management
|
|
readonly_root: true
|
|
network_policy: host # Requires host network for routing
|
|
apparmor_profile: router
|
|
|
|
ports:
|
|
- host: 8084
|
|
container: 8080
|
|
protocol: tcp # Web UI
|
|
- host: 5353
|
|
container: 5353
|
|
protocol: udp # mDNS/Bonjour
|
|
- host: 1900
|
|
container: 1900
|
|
protocol: udp # SSDP
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/router
|
|
target: /app/data
|
|
options: [rw]
|
|
- type: bind
|
|
source: /var/run/dbus
|
|
target: /var/run/dbus
|
|
options: [ro]
|
|
|
|
environment:
|
|
- NETWORK_INTERFACE=eth0
|
|
- MESH_ENABLED=true
|
|
- DEVICE_DISCOVERY=true
|
|
|
|
health_check:
|
|
type: http
|
|
endpoint: http://localhost:8084
|
|
path: /health
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
networking:
|
|
mesh_enabled: true
|
|
local_network_access: true
|
|
device_discovery: true
|
|
routing_protocols: [olsr, babel]
|