/** * All editable copy for the portal lives here, so nothing else needs touching * when you fill in the TBD placeholders. */ // Only port 80 is exposed by the host Nginx, so the lab links default to // plain http. Switch to "https" once TLS is terminated on the Mac mini. const SCHEME = "http"; export const profile = { name: "Tom Chien", }; /** One string per paragraph. Replace "TBD" with the ~200 word introduction. */ export const introduction: string[] = ["TBD"]; export type Credentials = { user: string; password: string }; export type LabService = { id: "it-cost-prod" | "harbor" | "gitea"; name: string; description: string; host: string; url: string; } & Credentials; export const labServices: LabService[] = [ { id: "it-cost-prod", name: "IT Cost Dashboard", description: "Production environment of the IT cost dashboard app.", host: "it-cost-prod.tomchien.com", url: `${SCHEME}://it-cost-prod.tomchien.com`, user: "TBD", password: "TBD", }, { id: "harbor", name: "Harbor", description: "Container registry that stores every image the pipeline builds.", host: "harbor.tomchien.com", url: `${SCHEME}://harbor.tomchien.com`, user: "TBD", password: "TBD", }, { id: "gitea", name: "Gitea", description: "Git hosting and Actions CI/CD that drives every deployment.", host: "gitea.tomchien.com", url: `${SCHEME}://gitea.tomchien.com`, user: "TBD", password: "TBD", }, ]; export const travel = { host: "tomchien.com/travelmap", url: `${SCHEME}://tomchien.com/travelmap`, user: "TBD", password: "TBD", } satisfies Credentials & { host: string; url: string };