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>
59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
app:
|
|
id: meshtastic
|
|
name: Meshtastic
|
|
version: 2.5.0
|
|
description: Open-source mesh networking for LoRa radios. Create decentralized communication networks.
|
|
|
|
container:
|
|
image: meshtastic/meshtasticd:2.5.6
|
|
image_signature: cosign://...
|
|
pull_policy: verify-signature
|
|
|
|
dependencies:
|
|
- storage: 1Gi
|
|
|
|
resources:
|
|
cpu_limit: 1
|
|
memory_limit: 512Mi
|
|
disk_limit: 1Gi
|
|
|
|
security:
|
|
capabilities: [NET_ADMIN, SYS_ADMIN] # Required for LoRa radio access
|
|
readonly_root: false # Needs write access for device management
|
|
network_policy: host # Requires host network for radio access
|
|
apparmor_profile: meshtastic
|
|
|
|
ports:
|
|
- host: 4403
|
|
container: 4403
|
|
protocol: tcp # HTTP API
|
|
- host: 1883
|
|
container: 1883
|
|
protocol: tcp # MQTT (optional)
|
|
|
|
devices:
|
|
- /dev/ttyUSB0 # LoRa radio device (if connected)
|
|
- /dev/ttyACM0 # Alternative device path
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/meshtastic
|
|
target: /app/data
|
|
options: [rw]
|
|
|
|
environment:
|
|
- MESHTASTIC_PORT=/dev/ttyUSB0
|
|
- MESHTASTIC_SERIAL=true
|
|
|
|
health_check:
|
|
type: http
|
|
endpoint: http://localhost:4403
|
|
path: /health
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
networking:
|
|
mesh_enabled: true
|
|
local_network_access: true
|