Terminal Dock: Infrastructure Ops Built for Modern Teams
Jeremy Barber
·6/10/2025
📐 Entity Relationship Diagram (ERD) at a Glance
Terminal Dock’s architecture is clean, scalable, and tailored for real-world operational workflows. Here are some key highlights from the ERD:
Multi-Tenant Design: org, member, and role tables scope users to organizations, allowing isolated environments and custom access control.
RBAC Built-In: Roles and permissions are mapped via rolePermission, giving each org flexible control over who can do what.
Server Management: The server table tracks hardware, location, OS, and current status, while serverMetric stores periodic resource stats (CPU, memory, uptime).
Command & Script Execution: Commands are predefined (command) and linked to servers (serverCommand), while longer-running tasks are scheduled via script and scheduledJob.
Audit Trail: Every action is recorded in the audit log, including who did what and when.
File Storage: Files (e.g. logs, configs, user avatars) are tracked and typed using file, fileType, and the userFile junction.
Notes: The polymorphic note system allows attaching context to users, servers, or locations, great for incident history and collaboration.
🛠️ Core & Upcoming Features
SSH Console in Browser
Secure terminal sessions without installing agents.Job Scheduler
Schedule and track scripts across any registered server.Custom Commands
Save frequently used actions and run them with a click.Visual Server Tagging
Organize infrastructure by location, purpose, or team.Audit Logging
See who rebooted what, when, and why.RBAC + Invite System
Add teammates, assign roles, and restrict access per org.Metrics Dashboard
View uptime, CPU load, memory, and disk over time.