-
Notifications
You must be signed in to change notification settings - Fork 0
Epic: v0.2.0 — Production Deployment + Station-Bot API Connectivity #105
Copy link
Copy link
Open
Labels
apiPublic/internal API endpointsPublic/internal API endpointsbackendBackend services and logicBackend services and logicconfigConfiguration and feature flagsConfiguration and feature flagsepicTop-level feature or themeTop-level feature or themefrontendFrontend app and dashboardFrontend app and dashboardsecuritySecurity, auth, and permissionsSecurity, auth, and permissionstech-storyTechnical implementation storyTechnical implementation story
Milestone
Metadata
Metadata
Assignees
Labels
apiPublic/internal API endpointsPublic/internal API endpointsbackendBackend services and logicBackend services and logicconfigConfiguration and feature flagsConfiguration and feature flagsepicTop-level feature or themeTop-level feature or themefrontendFrontend app and dashboardFrontend app and dashboardsecuritySecurity, auth, and permissionsSecurity, auth, and permissionstech-storyTechnical implementation storyTechnical implementation story
Epic
This epic covers everything required to ship Station to production on a Linode VPS and establish secure API connectivity with Station-Bot. It replaces the previous Kubernetes-based deployment plan with a pragmatic Docker Compose + Terraform approach that is appropriate for the current single-server scale.
Why This Approach
Think of this like building a house before decorating it. Kubernetes (K8s) is a mansion with a full maintenance staff — powerful, but overkill when you have one apartment. Docker Compose is that apartment: it runs all your services reliably, is easy to understand, and can be upgraded later. Terraform is the blueprint: instead of manually clicking buttons in the Linode dashboard, you write code that describes your infrastructure so it can be rebuilt identically at any time.
Scope
Infrastructure
Application Deployment
Security / Auth
Station-Bot Connectivity
client_id+client_secret/auth/tokenendpoint on startupAuthorization: Bearer <token>Documentation
docs/deployment.mdfull deployment runbookdocs/architecture.mdwith infrastructure diagramdocs/oauth-m2m.mdexplaining the bot auth flowSub-Issues
Definition of Done
api.drdnt.org(backend) andstation.drdnt.org(frontend)