@samyx/preview-stacks-ui 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ActionButton.vue_vue_type_script_setup_true_lang-DBfqkgMV.js → ActionButton.vue_vue_type_script_setup_true_lang-pLJQfFvY.js} +2 -2
- package/dist/assets/{ActionButton.vue_vue_type_script_setup_true_lang-DBfqkgMV.js.map → ActionButton.vue_vue_type_script_setup_true_lang-pLJQfFvY.js.map} +1 -1
- package/dist/assets/{AxesTab-Bzm6UBFL.js → AxesTab-Bb8UjmaR.js} +2 -2
- package/dist/assets/{AxesTab-Bzm6UBFL.js.map → AxesTab-Bb8UjmaR.js.map} +1 -1
- package/dist/assets/{ConfigTab-B5Mkn_Xr.js → ConfigTab-DLjvLYzj.js} +2 -2
- package/dist/assets/{ConfigTab-B5Mkn_Xr.js.map → ConfigTab-DLjvLYzj.js.map} +1 -1
- package/dist/assets/{ConfigView-BMINdC1p.js → ConfigView-BO_yZHja.js} +2 -2
- package/dist/assets/{ConfigView-BMINdC1p.js.map → ConfigView-BO_yZHja.js.map} +1 -1
- package/dist/assets/{ConflictNote.vue_vue_type_script_setup_true_lang-DcogOjwN.js → ConflictNote.vue_vue_type_script_setup_true_lang-Bjozh4Jr.js} +2 -2
- package/dist/assets/{ConflictNote.vue_vue_type_script_setup_true_lang-DcogOjwN.js.map → ConflictNote.vue_vue_type_script_setup_true_lang-Bjozh4Jr.js.map} +1 -1
- package/dist/assets/ControlView-D-akBm65.js +2 -0
- package/dist/assets/ControlView-D-akBm65.js.map +1 -0
- package/dist/assets/{DangerTab-CLAU7ElD.js → DangerTab-DFtbEcU-.js} +2 -2
- package/dist/assets/{DangerTab-CLAU7ElD.js.map → DangerTab-DFtbEcU-.js.map} +1 -1
- package/dist/assets/{DashboardView-C7Ofmm_R.js → DashboardView-BWa1V1EI.js} +2 -2
- package/dist/assets/{DashboardView-C7Ofmm_R.js.map → DashboardView-BWa1V1EI.js.map} +1 -1
- package/dist/assets/{DeploymentDetailView-BnEVV3jQ.js → DeploymentDetailView-Cs1sMvRs.js} +2 -2
- package/dist/assets/{DeploymentDetailView-BnEVV3jQ.js.map → DeploymentDetailView-Cs1sMvRs.js.map} +1 -1
- package/dist/assets/{DeploymentsView-BQUywd2O.js → DeploymentsView-CD84qmqw.js} +2 -2
- package/dist/assets/{DeploymentsView-BQUywd2O.js.map → DeploymentsView-CD84qmqw.js.map} +1 -1
- package/dist/assets/{DialogTrigger-K-5IAbpM.js → DialogTrigger-BKNFZDUU.js} +2 -2
- package/dist/assets/{DialogTrigger-K-5IAbpM.js.map → DialogTrigger-BKNFZDUU.js.map} +1 -1
- package/dist/assets/{EquivalentCommand-Bs9vCxV-.js → EquivalentCommand-DSNG3Ig1.js} +2 -2
- package/dist/assets/{EquivalentCommand-Bs9vCxV-.js.map → EquivalentCommand-DSNG3Ig1.js.map} +1 -1
- package/dist/assets/{ErrorNote.vue_vue_type_script_setup_true_lang-DrinGQ_J.js → ErrorNote.vue_vue_type_script_setup_true_lang-BaTXNX-q.js} +2 -2
- package/dist/assets/{ErrorNote.vue_vue_type_script_setup_true_lang-DrinGQ_J.js.map → ErrorNote.vue_vue_type_script_setup_true_lang-BaTXNX-q.js.map} +1 -1
- package/dist/assets/{HelpModal.vue_vue_type_script_setup_true_lang-Cj0ZWsrz.js → HelpModal.vue_vue_type_script_setup_true_lang-BhdwErsB.js} +2 -2
- package/dist/assets/{HelpModal.vue_vue_type_script_setup_true_lang-Cj0ZWsrz.js.map → HelpModal.vue_vue_type_script_setup_true_lang-BhdwErsB.js.map} +1 -1
- package/dist/assets/{JobDetailView-ClTF4h1t.js → JobDetailView-DeRVlajk.js} +2 -2
- package/dist/assets/{JobDetailView-ClTF4h1t.js.map → JobDetailView-DeRVlajk.js.map} +1 -1
- package/dist/assets/{JobsView-WFqrBzR6.js → JobsView-BMWq45ys.js} +2 -2
- package/dist/assets/{JobsView-WFqrBzR6.js.map → JobsView-BMWq45ys.js.map} +1 -1
- package/dist/assets/{LogViewer.vue_vue_type_script_setup_true_lang-Btl7zhUv.js → LogViewer.vue_vue_type_script_setup_true_lang-Bj66MDSl.js} +2 -2
- package/dist/assets/{LogViewer.vue_vue_type_script_setup_true_lang-Btl7zhUv.js.map → LogViewer.vue_vue_type_script_setup_true_lang-Bj66MDSl.js.map} +1 -1
- package/dist/assets/{LoginView-B3SRuKRK.js → LoginView-Docai9d6.js} +2 -2
- package/dist/assets/{LoginView-B3SRuKRK.js.map → LoginView-Docai9d6.js.map} +1 -1
- package/dist/assets/{LogsTab-DtcfNtY8.js → LogsTab-Cfauurch.js} +2 -2
- package/dist/assets/{LogsTab-DtcfNtY8.js.map → LogsTab-Cfauurch.js.map} +1 -1
- package/dist/assets/{NotFoundView-1RdXOkoy.js → NotFoundView-D7OvnAVF.js} +2 -2
- package/dist/assets/{NotFoundView-1RdXOkoy.js.map → NotFoundView-D7OvnAVF.js.map} +1 -1
- package/dist/assets/{NotifiersView-diZ_EMYq.js → NotifiersView-DPXRy0Ml.js} +2 -2
- package/dist/assets/{NotifiersView-diZ_EMYq.js.map → NotifiersView-DPXRy0Ml.js.map} +1 -1
- package/dist/assets/{OverviewTab--YuThIvA.js → OverviewTab-BKYsu11o.js} +2 -2
- package/dist/assets/{OverviewTab--YuThIvA.js.map → OverviewTab-BKYsu11o.js.map} +1 -1
- package/dist/assets/{PublicLogsView-gChlTDrp.js → PublicLogsView-DWtP1KLG.js} +2 -2
- package/dist/assets/{PublicLogsView-gChlTDrp.js.map → PublicLogsView-DWtP1KLG.js.map} +1 -1
- package/dist/assets/{RefreshButton.vue_vue_type_script_setup_true_lang-D8LrAn-h.js → RefreshButton.vue_vue_type_script_setup_true_lang-zOMuwEGt.js} +2 -2
- package/dist/assets/{RefreshButton.vue_vue_type_script_setup_true_lang-D8LrAn-h.js.map → RefreshButton.vue_vue_type_script_setup_true_lang-zOMuwEGt.js.map} +1 -1
- package/dist/assets/{RegistriesView-Cich0dgu.js → RegistriesView-CXFrbpKU.js} +2 -2
- package/dist/assets/{RegistriesView-Cich0dgu.js.map → RegistriesView-CXFrbpKU.js.map} +1 -1
- package/dist/assets/{RelativeTime.vue_vue_type_script_setup_true_lang-surhYF0H.js → RelativeTime.vue_vue_type_script_setup_true_lang-DmifGQCq.js} +2 -2
- package/dist/assets/{RelativeTime.vue_vue_type_script_setup_true_lang-surhYF0H.js.map → RelativeTime.vue_vue_type_script_setup_true_lang-DmifGQCq.js.map} +1 -1
- package/dist/assets/{RequiresTab-CxGBOMkm.js → RequiresTab-DzIjJaLx.js} +2 -2
- package/dist/assets/{RequiresTab-CxGBOMkm.js.map → RequiresTab-DzIjJaLx.js.map} +1 -1
- package/dist/assets/{RouteTarget.vue_vue_type_script_setup_true_lang-C3qkKTNl.js → RouteTarget.vue_vue_type_script_setup_true_lang-mCKpGvoV.js} +2 -2
- package/dist/assets/{RouteTarget.vue_vue_type_script_setup_true_lang-C3qkKTNl.js.map → RouteTarget.vue_vue_type_script_setup_true_lang-mCKpGvoV.js.map} +1 -1
- package/dist/assets/{RoutingView-BXOGdZU4.js → RoutingView-BOH2ypa8.js} +2 -2
- package/dist/assets/{RoutingView-BXOGdZU4.js.map → RoutingView-BOH2ypa8.js.map} +1 -1
- package/dist/assets/RuntimeTab-DZ3MZE_K.js +3 -0
- package/dist/assets/RuntimeTab-DZ3MZE_K.js.map +1 -0
- package/dist/assets/{RuntimeTab-CXX0BGYC.css → RuntimeTab-Y2qBJykM.css} +1 -1
- package/dist/assets/{SelectMenu.vue_vue_type_script_setup_true_lang-C7bhFOYU.js → SelectMenu.vue_vue_type_script_setup_true_lang-CEOgxUqO.js} +2 -2
- package/dist/assets/{SelectMenu.vue_vue_type_script_setup_true_lang-C7bhFOYU.js.map → SelectMenu.vue_vue_type_script_setup_true_lang-CEOgxUqO.js.map} +1 -1
- package/dist/assets/{SettingsView-BvscpTdq.js → SettingsView-B0DeldbW.js} +2 -2
- package/dist/assets/{SettingsView-BvscpTdq.js.map → SettingsView-B0DeldbW.js.map} +1 -1
- package/dist/assets/{SkeletonList.vue_vue_type_script_setup_true_lang-CUZB1sxf.js → SkeletonList.vue_vue_type_script_setup_true_lang-Veni2uNM.js} +2 -2
- package/dist/assets/{SkeletonList.vue_vue_type_script_setup_true_lang-CUZB1sxf.js.map → SkeletonList.vue_vue_type_script_setup_true_lang-Veni2uNM.js.map} +1 -1
- package/dist/assets/{SpecDetailView-CAPlEmSg.js → SpecDetailView-CYTsg3dA.js} +2 -2
- package/dist/assets/{SpecDetailView-CAPlEmSg.js.map → SpecDetailView-CYTsg3dA.js.map} +1 -1
- package/dist/assets/{SpecsView-BO0QMGrI.js → SpecsView-DioO-zqq.js} +2 -2
- package/dist/assets/{SpecsView-BO0QMGrI.js.map → SpecsView-DioO-zqq.js.map} +1 -1
- package/dist/assets/{SsoMark.vue_vue_type_script_setup_true_lang-EdIcAiak.js → SsoMark.vue_vue_type_script_setup_true_lang-DYn0Yyze.js} +2 -2
- package/dist/assets/{SsoMark.vue_vue_type_script_setup_true_lang-EdIcAiak.js.map → SsoMark.vue_vue_type_script_setup_true_lang-DYn0Yyze.js.map} +1 -1
- package/dist/assets/{SsoView-2q_nGP-Q.js → SsoView-B_gXfZwB.js} +2 -2
- package/dist/assets/{SsoView-2q_nGP-Q.js.map → SsoView-B_gXfZwB.js.map} +1 -1
- package/dist/assets/{StateBadge.vue_vue_type_script_setup_true_lang-CwCTE4yP.js → StateBadge.vue_vue_type_script_setup_true_lang-DABjKwrU.js} +2 -2
- package/dist/assets/{StateBadge.vue_vue_type_script_setup_true_lang-CwCTE4yP.js.map → StateBadge.vue_vue_type_script_setup_true_lang-DABjKwrU.js.map} +1 -1
- package/dist/assets/{SubmitView-Dxre5OJU.js → SubmitView-D3dRZ8OV.js} +2 -2
- package/dist/assets/{SubmitView-Dxre5OJU.js.map → SubmitView-D3dRZ8OV.js.map} +1 -1
- package/dist/assets/{SwarmView-DtwrF08A.js → SwarmView-_n42sP13.js} +2 -2
- package/dist/assets/{SwarmView-DtwrF08A.js.map → SwarmView-_n42sP13.js.map} +1 -1
- package/dist/assets/{Teleport-bdITH--T.js → Teleport-Cy-A7RhK.js} +2 -2
- package/dist/assets/{Teleport-bdITH--T.js.map → Teleport-Cy-A7RhK.js.map} +1 -1
- package/dist/assets/{TerminalTab-CfcGPa8t.js → TerminalTab-DdbwvvIy.js} +2 -2
- package/dist/assets/{TerminalTab-CfcGPa8t.js.map → TerminalTab-DdbwvvIy.js.map} +1 -1
- package/dist/assets/{UsersView-nIlVItsK.js → UsersView-Dn9cLJCI.js} +2 -2
- package/dist/assets/{UsersView-nIlVItsK.js.map → UsersView-Dn9cLJCI.js.map} +1 -1
- package/dist/assets/{VarEditor.vue_vue_type_script_setup_true_lang-Be64GoXx.js → VarEditor.vue_vue_type_script_setup_true_lang-Dyb8Lmxc.js} +2 -2
- package/dist/assets/{VarEditor.vue_vue_type_script_setup_true_lang-Be64GoXx.js.map → VarEditor.vue_vue_type_script_setup_true_lang-Dyb8Lmxc.js.map} +1 -1
- package/dist/assets/{VarIO-BcNlaWXO.js → VarIO-D7bwBO4U.js} +2 -2
- package/dist/assets/{VarIO-BcNlaWXO.js.map → VarIO-D7bwBO4U.js.map} +1 -1
- package/dist/assets/{VariablesView-CzeCc-0m.js → VariablesView-CH3Ktrp1.js} +2 -2
- package/dist/assets/{VariablesView-CzeCc-0m.js.map → VariablesView-CH3Ktrp1.js.map} +1 -1
- package/dist/assets/{index-IvJmpI3b.js → index-ChQCta5r.js} +34 -29
- package/dist/assets/index-ChQCta5r.js.map +1 -0
- package/dist/assets/{useDeployment-rA-pgUHZ.js → useDeployment-DiChk3VG.js} +2 -2
- package/dist/assets/{useDeployment-rA-pgUHZ.js.map → useDeployment-DiChk3VG.js.map} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/RuntimeTab-_QvQc5F2.js +0 -3
- package/dist/assets/RuntimeTab-_QvQc5F2.js.map +0 -1
- package/dist/assets/index-IvJmpI3b.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutingView-BXOGdZU4.js","sources":["../../src/views/RoutingView.vue"],"sourcesContent":["<script setup lang=\"ts\">\n/**\n * Traefik's dynamic configuration — the file list, and an editor.\n *\n * WHAT LIVES HERE. Traefik reads config from two providers: labels on containers (every per-PR router)\n * and a watched *directory* of files. This page is the directory: middleware (basic auth, rate limits,\n * IP allow-lists), TLS options, the catch-all fallback router, routes to something running outside\n * compose. Several files rather than one is the point of a watched directory — one file per concern.\n *\n * THE WARNING IS NOT DECORATION. Traefik's documented behaviour is that an unparseable file produces\n * a parse error for the whole DIRECTORY, and the rest can be discarded with it — so a careless save\n * here breaks *other people's* routes, not the file being edited. The server validates before writing\n * and renames into place so the watcher never sees a partial file, and every rejection is rendered\n * verbatim because it names the actual problem.\n *\n * What it cannot break: `control.<domain>` and `api.<domain>` are docker labels on the pstack\n * container, not file config. This page cannot lock you out of the page you would use to undo a bad\n * save. That is stated in the UI, because an operator hesitating over a save deserves to know it.\n *\n * `previous` from a save is an in-session undo. There is deliberately no history on disk: the obvious\n * place to keep it is the one directory that must contain nothing but dynamic config.\n */\nimport { computed, ref } from 'vue';\nimport { api, problem } from '../api/client';\nimport type {\n LiveRoutesResponse,\n RoutingFile,\n RoutingListResponse,\n RoutingReadResponse,\n RoutingWriteResponse,\n RuntimeRoute,\n} from '../api/types';\nimport { settings } from '../composables/useSettings';\nimport { stamp } from '../composables/useFormat';\nimport { toast } from '../composables/useToasts';\nimport ActionButton from '../components/ActionButton.vue';\nimport ErrorNote from '../components/ErrorNote.vue';\nimport InfoHint from '../components/InfoHint.vue';\nimport SkeletonList from '../components/SkeletonList.vue';\nimport HelpModal from '../components/HelpModal.vue';\nimport RefreshButton from '../components/RefreshButton.vue';\nimport RouteTarget from '../components/RouteTarget.vue';\n\n/**\n * The live routes, from container labels.\n *\n * This page used to show only the file provider, and the reported confusion was exactly right: a\n * deployment goes up, its hostname appears, and nothing here changes — because per-PR routers are\n * DOCKER labels and the files below are Traefik's *other* provider. Showing both is what makes the\n * page match what \"routing\" means to whoever opened it.\n *\n * The table is fixed-layout inside `.table-scroll`, like the deployment's own: host-wide, every\n * router and project name carries a stack name, and under auto layout the longest one on the host\n * set the width for all of them. `RouteTarget` is shared with that table so the two cannot come to\n * describe the same missing address differently.\n */\nconst live = ref<RuntimeRoute[]>([]);\nconst liveReachable = ref<boolean | null>(null);\n\nconst files = ref<RoutingFile[]>([]);\nconst dir = ref('');\nconst writable = ref<boolean | null>(null);\nconst loaded = ref(false);\nconst listError = ref('');\n\n/** The open file. `null` name means a new one. */\nconst openName = ref<string | null>(null);\nconst draft = ref('');\nconst original = ref('');\nconst withheld = ref(false);\nconst loadingFile = ref(false);\nconst saving = ref(false);\nconst fileError = ref('');\nconst newName = ref('');\n/** Last replaced content, offered as an undo for the rest of the session. */\nconst undo = ref<{ name: string; content: string } | null>(null);\nconst confirmDelete = ref('');\n\nconst dirty = computed(() => openName.value !== null && draft.value !== original.value);\nconst canSave = computed(\n () => !!settings.token && !saving.value && draft.value.trim().length > 0 && (dirty.value || openName.value === ''),\n);\n\nconst STARTER = `http:\n middlewares:\n # An example — replace it. Middlewares go UNDER http; at the top level Traefik ignores them.\n ip-allow:\n ipAllowList:\n sourceRange:\n - 203.0.113.0/24\n`;\n\n/** Both halves: the file provider's directory AND the routes Traefik actually has. */\nasync function refreshAll(): Promise<void> {\n await Promise.all([loadList(), loadLive()]);\n}\n\nasync function loadList(): Promise<void> {\n const r = await api.get<RoutingListResponse>('/api/routing');\n loaded.value = true;\n if (!r.ok) {\n listError.value = problem(r, 'load the routing files');\n return;\n }\n listError.value = '';\n files.value = r.body.files ?? [];\n dir.value = r.body.dir ?? '';\n writable.value = r.body.writable ?? false;\n}\n\nasync function loadLive(): Promise<void> {\n const r = await api.get<LiveRoutesResponse>('/api/routing/live');\n if (!r.ok) {\n liveReachable.value = false;\n return;\n }\n liveReachable.value = r.body.reachable;\n live.value = r.body.routes ?? [];\n}\n\nvoid loadList();\nvoid loadLive();\n\nasync function open(name: string): Promise<void> {\n openName.value = name;\n loadingFile.value = true;\n fileError.value = '';\n withheld.value = false;\n confirmDelete.value = '';\n // Authenticated: dynamic config holds basic-auth hashes and forward-auth URLs.\n const r = await api.getAuthed<RoutingReadResponse>(`/api/routing/${encodeURIComponent(name)}`);\n loadingFile.value = false;\n if (!r.ok) {\n fileError.value = problem(r, 'open this file');\n return;\n }\n if (r.body.sourceWithheld) {\n withheld.value = true;\n draft.value = '';\n original.value = '';\n return;\n }\n draft.value = r.body.content ?? '';\n original.value = draft.value;\n}\n\nfunction startNew(): void {\n openName.value = '';\n newName.value = '';\n draft.value = STARTER;\n original.value = '';\n withheld.value = false;\n fileError.value = '';\n}\n\nfunction close(): void {\n openName.value = null;\n draft.value = '';\n original.value = '';\n fileError.value = '';\n}\n\nasync function save(): Promise<void> {\n const name = openName.value === '' ? newName.value.trim() : openName.value;\n if (!name) {\n fileError.value = 'Give the file a name, ending in .yml';\n return;\n }\n saving.value = true;\n fileError.value = '';\n const r = await api.put<RoutingWriteResponse>(`/api/routing/${encodeURIComponent(name)}`, {\n content: draft.value,\n });\n saving.value = false;\n if (!r.ok) {\n // Rendered verbatim: the server's message names the unknown section or the YAML error, which is\n // the whole diagnosis.\n fileError.value = problem(r, 'save this file');\n return;\n }\n if (r.body.previous) undo.value = { name, content: r.body.previous };\n original.value = draft.value;\n openName.value = name;\n toast('ok', `Saved ${name}. Traefik reloads within a second or two.`);\n void loadList();\n}\n\nasync function revert(): Promise<void> {\n const u = undo.value;\n if (!u) return;\n draft.value = u.content;\n openName.value = u.name;\n await save();\n undo.value = null;\n}\n\nasync function remove(): Promise<void> {\n const name = openName.value;\n if (!name || confirmDelete.value !== name) return;\n const r = await api.del<RoutingWriteResponse>(`/api/routing/${encodeURIComponent(name)}`);\n if (!r.ok) {\n fileError.value = problem(r, 'delete this file');\n return;\n }\n if (r.body.previous) undo.value = { name, content: r.body.previous };\n toast('ok', `Deleted ${name}.`);\n close();\n void loadList();\n}\n</script>\n\n<template>\n <div>\n <div class=\"page-head\">\n <div>\n <h1>\n Routing\n <HelpModal title=\"How routing files work, and what can go wrong\">\n <p>\n <b>Traefik reads this directory as a whole.</b> One file it cannot parse and it reports a\n problem for the <em>directory</em> — so the symptom is other, unrelated routes\n disappearing rather than an error about the file you just saved.\n </p>\n <p>\n Saves here are checked before they are written and replace the old file in one step, so a\n file that would break the directory never reaches Traefik in the first place.\n </p>\n <p>\n <b>This page cannot lock you out.</b> It and the API are routed by their containers'\n own settings, not by these files — no save here can take away the page you would use to\n undo it.\n </p>\n <p>\n What belongs here: shared middleware (sign-in prompts, rate limits, address\n allow-lists), TLS options, the catch-all fallback, and routes to things running outside\n this host's previews. A single preview's own routes are not here — those travel with the\n deployment.\n </p>\n </HelpModal>\n </h1>\n <div class=\"sub\">\n Every route on this host, and the config files behind them\n <InfoHint label=\"what belongs in these files\">\n Middleware (basic auth, rate limits, IP allow-lists), TLS options, the catch-all fallback\n router, and routes to anything running outside compose. Per-PR routers are not here —\n those are labels in each deployment's own compose file.\n </InfoHint>\n </div>\n </div>\n <span class=\"grow\" />\n <button v-if=\"writable\" class=\"btn primary\" @click=\"startNew\">New file</button>\n <span class=\"grow\" />\n <RefreshButton :run=\"refreshAll\" />\n </div>\n\n <ErrorNote v-if=\"listError\" :text=\"listError\" title=\"Could not load the routing files.\" />\n\n <div v-if=\"undo\" class=\"banner info\">\n <b>Replaced {{ undo.name }}.</b>\n <p>\n The previous contents are still here for this session.\n <button class=\"btn sm\" @click=\"revert\">Put it back</button>\n </p>\n </div>\n\n <!-- ============================ live routes ============================ -->\n <section class=\"panel\">\n <div class=\"phead\">\n <h2 class=\"section\">Live routes</h2>\n <span class=\"grow\" />\n <span class=\"mute\" style=\"font-size: var(--t-sm)\">\n from container labels\n <InfoHint label=\"why routes are not in the files below\" align=\"end\">\n Traefik reads two providers. Per-PR routers are <b>labels on containers</b>, written by each\n deployment's own compose file — so deploying a stack changes this list and never the files.\n The files are the other provider: middleware, TLS options, the fallback router.\n </InfoHint>\n </span>\n </div>\n\n <div v-if=\"liveReachable === false\" class=\"banner warn\">\n <b>Docker did not answer.</b>\n <p>Routes could not be listed — which is not the same as there being none.</p>\n </div>\n\n <div v-else-if=\"live.length\" class=\"table-scroll\">\n <table class=\"cards tbl-fixed t-live\">\n <!--\n Host-wide, so every identifier here is longer than its per-deployment equivalent: routers\n and projects both carry the stack name. URL still wraps rather than clips — it is the one\n value on the row anyone reads to the end.\n -->\n <colgroup>\n <col style=\"width: 34%\" />\n <col style=\"width: 24%\" />\n <col style=\"width: 20%\" />\n <col style=\"width: 22%\" />\n </colgroup>\n <thead>\n <tr>\n <th>URL</th>\n <th>Forwards to</th>\n <th>Deployment</th>\n <th>Router</th>\n </tr>\n </thead>\n <tbody class=\"stagger\">\n <tr v-for=\"(r, i) in live\" :key=\"`${r.container}-${r.router}`\" :style=\"{ '--i': i }\">\n <td class=\"cell-wrap\" data-label=\"url\">\n <div v-for=\"h in r.hosts\" :key=\"h\">\n <a v-if=\"!h.startsWith('(pattern)')\" :href=\"`https://${h}`\" target=\"_blank\" rel=\"noreferrer\">\n {{ h }}\n </a>\n <span v-else class=\"mono mute\">{{ h }}</span>\n </div>\n <span v-if=\"!r.hosts.length\" class=\"mute\">no host in the rule</span>\n </td>\n <td data-label=\"forwards to\">\n <RouteTarget :route=\"r\" />\n </td>\n <td data-label=\"deployment\">\n <RouterLink\n v-if=\"r.project\"\n class=\"cell-clip\"\n :title=\"r.project\"\n :to=\"`/deployments/${encodeURIComponent(r.project)}/runtime`\"\n >\n {{ r.project }}\n </RouterLink>\n <span v-else class=\"mute\">—</span>\n </td>\n <td class=\"dim\" data-label=\"router\">\n <span class=\"cell-clip\" :title=\"r.router\">{{ r.router }}</span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <p v-else class=\"mute\">\n No container on this host declares a Traefik router. A deployment's routes come from labels in\n its own compose file — open a deployment's <b>Containers & routes</b> tab to see what is\n missing.\n </p>\n </section>\n\n <!-- ============================ config files ============================ -->\n <section class=\"panel\">\n <div class=\"phead\">\n <h2 class=\"section\">Config files</h2>\n <span class=\"grow\" />\n <span v-if=\"dir\" class=\"mute\" style=\"font-size: var(--t-sm)\">\n <span class=\"mute\">{{ dir }}</span>\n </span>\n </div>\n\n <!--\n The blast radius, stated once and up front — and the reassurance alongside it, because \"this can\n break everything\" without \"you will still be able to fix it\" just makes people avoid the page.\n -->\n\n <div v-if=\"writable === false\" class=\"banner failed\">\n <b>Read-only: the API cannot write to this directory.</b>\n <p>\n The control stack mounts it into the API from 0.4.0 onward. Re-run\n setup again on the host to pick up the mount — it is safe to repeat, and it recreates\n the control containers.\n </p>\n </div>\n\n <div v-else-if=\"!settings.token\" class=\"banner info\">\n <b>Viewing needs a token too.</b>\n <p>\n These files hold basic-auth hashes and forward-auth URLs, so their contents are not served\n unauthenticated. <RouterLink to=\"/settings\">Add your token</RouterLink>.\n </p>\n </div>\n\n <SkeletonList v-if=\"!loaded\" :rows=\"3\" />\n <ul v-else-if=\"files.length\" class=\"kvlist\">\n <li v-for=\"f in files\" :key=\"f.name\">\n <span class=\"k\">\n <button class=\"ghost sm\" @click=\"open(f.name)\">{{ f.name }}</button>\n </span>\n <span class=\"v mute\" style=\"font-size: var(--t-sm)\">\n {{ f.size }} bytes · {{ stamp(f.updatedAt) }}\n </span>\n </li>\n </ul>\n <p v-else class=\"mute\">\n No files yet. Everything is routed by container labels, which is a perfectly good place to be.\n </p>\n </section>\n\n <section v-if=\"openName !== null\" class=\"panel\">\n <div class=\"phead\">\n <h2 class=\"section\">{{ openName === '' ? 'New file' : openName }}</h2>\n <span v-if=\"dirty\" class=\"badge warn\">unsaved</span>\n <span class=\"grow\" />\n <button class=\"ghost sm\" @click=\"close\">Close</button>\n </div>\n\n <div v-if=\"openName === ''\" class=\"field\" style=\"max-width: 340px\">\n <label for=\"fname\">File name</label>\n <input\n id=\"fname\"\n v-model.trim=\"newName\"\n type=\"text\"\n placeholder=\"middleware.yml\"\n spellcheck=\"false\"\n autocomplete=\"off\"\n />\n <div class=\"mute hint\">Lower case, ending in <code>.yml</code>.</div>\n </div>\n\n <SkeletonList v-if=\"loadingFile\" :rows=\"4\" />\n\n <div v-else-if=\"withheld\" class=\"banner plain\">\n <b>Hidden without an access token.</b>\n <p>\n <RouterLink to=\"/settings\">Add your token</RouterLink> to read and edit this file.\n </p>\n </div>\n\n <template v-else>\n <div class=\"field\">\n <label for=\"content\">Contents</label>\n <textarea id=\"content\" v-model=\"draft\" rows=\"18\" spellcheck=\"false\" />\n </div>\n\n <ErrorNote v-if=\"fileError\" :text=\"fileError\" title=\"Traefik would not accept this.\" />\n\n <div class=\"row\" style=\"margin-top: var(--s4)\">\n <ActionButton variant=\"primary\" :pending=\"saving\" :disabled=\"!canSave\" @click=\"save\">\n {{ saving ? 'Saving…' : 'Save' }}\n </ActionButton>\n <span v-if=\"!settings.token\" class=\"mute\">Saving needs a token.</span>\n </div>\n\n <template v-if=\"openName\">\n <h2 class=\"section\" style=\"margin: var(--s5) 0 var(--s3)\">Delete this file</h2>\n <p class=\"dim\">\n Whatever it configures stops applying as soon as Traefik reloads. If it holds a router,\n those hostnames stop resolving to anything.\n </p>\n <div class=\"field\" style=\"max-width: 340px\">\n <label :for=\"`confirm-${openName}`\">\n Type <b>{{ openName }}</b> to confirm\n </label>\n <input\n :id=\"`confirm-${openName}`\"\n v-model.trim=\"confirmDelete\"\n type=\"text\"\n :placeholder=\"openName\"\n spellcheck=\"false\"\n autocomplete=\"off\"\n />\n </div>\n <div class=\"row\">\n <ActionButton\n variant=\"danger\"\n :disabled=\"confirmDelete !== openName || !settings.token\"\n :title=\"confirmDelete !== openName ? 'Type the file name to confirm.' : undefined\"\n @click=\"remove\"\n >\n Delete\n </ActionButton>\n </div>\n </template>\n </template>\n </section>\n </div>\n</template>\n\n<style scoped>\n/*\n * `.t-live`'s floor is in `app.css` with the other two, beside the `.tbl-fixed` comment that\n * promises it. It is derived from the `<colgroup>` above.\n */\n</style>\n"],"names":["STARTER","live","ref","liveReachable","files","dir","writable","loaded","listError","openName","draft","original","withheld","loadingFile","saving","fileError","newName","undo","confirmDelete","dirty","computed","canSave","settings","refreshAll","loadList","loadLive","r","api","problem","open","name","startNew","close","save","toast","revert","u","remove","_createElementBlock","_createElementVNode","_hoisted_1","_createVNode","HelpModal","_cache","_hoisted_2","InfoHint","RefreshButton","_createBlock","ErrorNote","_openBlock","_hoisted_3","_toDisplayString","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_Fragment","_renderList","i","_hoisted_11","h","_hoisted_13","_hoisted_12","_hoisted_14","_hoisted_15","RouteTarget","_hoisted_16","_component_RouterLink","_createTextVNode","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_unref","_hoisted_26","_hoisted_27","f","_hoisted_28","$event","_hoisted_29","_hoisted_30","stamp","_hoisted_31","SkeletonList","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","ActionButton","_hoisted_40","_hoisted_41","_hoisted_44"],"mappings":"4hEAmFMA,GAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wCA3BhB,MAAMC,EAAOC,EAAoB,EAAE,EAC7BC,EAAgBD,EAAoB,IAAI,EAExCE,EAAQF,EAAmB,EAAE,EAC7BG,EAAMH,EAAI,EAAE,EACZI,EAAWJ,EAAoB,IAAI,EACnCK,EAASL,EAAI,EAAK,EAClBM,EAAYN,EAAI,EAAE,EAGlBO,EAAWP,EAAmB,IAAI,EAClCQ,EAAQR,EAAI,EAAE,EACdS,EAAWT,EAAI,EAAE,EACjBU,EAAWV,EAAI,EAAK,EACpBW,EAAcX,EAAI,EAAK,EACvBY,EAASZ,EAAI,EAAK,EAClBa,EAAYb,EAAI,EAAE,EAClBc,EAAUd,EAAI,EA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AA,CAA3E,MAAM,UAAU,MAAA,CAAA,OAAA,uBAAA,CAAA,EAAsC,mBAAgB,EAAA,GAC1EI,EAAA,EAAA,IAAAA,EAAA,EAAA,EAAAJ,EAGI,IAAA,CAHD,MAAM,KAAA,EAAM,wIAGf,EAAA,GACAA,EAYM,MAZN+D,GAYM,CAXJ/D,EAEQ,QAAA,CAFA,eAAgB9B,EAAA,KAAQ,EAAA,mBAAI,SAC7B,EAAA,GAAA8B,EAAqB,WAAf9B,EAAA,KAAQ,EAAA,CAAA,kBAAO,eAC5B,EAAA,EAAA,UACA8B,EAOE,QAAA,CANC,cAAe9B,EAAA,KAAQ,wCACVS,EAAa,MAAAoE,GAC3B,KAAK,OACJ,YAAa7E,EAAA,MACd,WAAW,QACX,aAAa,KAAA,iBAJCS,EAAA,aAAN,CAAA,KAAR,EAAA,CAA4B,MAOhCqB,EASM,MATNgE,GASM,CARJ9D,EAOe2D,EAAA,CANb,QAAQ,SACP,SAAUlF,EAAA,QAAkBT,SAAQ,CAAKwE,EAAA3D,CAAA,EAAS,MAClD,MAAOJ,EAAA,QAAkBT,EAAA,uCAA8C,OACvE,QAAO4B,EAAA,aACT,IAED,CAAA,GAAAM,EAAA,EAAA,IAAAA,EAAA,EAAA,EAAA,GAFC,WAED,EAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"RoutingView-BOH2ypa8.js","sources":["../../src/views/RoutingView.vue"],"sourcesContent":["<script setup lang=\"ts\">\n/**\n * Traefik's dynamic configuration — the file list, and an editor.\n *\n * WHAT LIVES HERE. Traefik reads config from two providers: labels on containers (every per-PR router)\n * and a watched *directory* of files. This page is the directory: middleware (basic auth, rate limits,\n * IP allow-lists), TLS options, the catch-all fallback router, routes to something running outside\n * compose. Several files rather than one is the point of a watched directory — one file per concern.\n *\n * THE WARNING IS NOT DECORATION. Traefik's documented behaviour is that an unparseable file produces\n * a parse error for the whole DIRECTORY, and the rest can be discarded with it — so a careless save\n * here breaks *other people's* routes, not the file being edited. The server validates before writing\n * and renames into place so the watcher never sees a partial file, and every rejection is rendered\n * verbatim because it names the actual problem.\n *\n * What it cannot break: `control.<domain>` and `api.<domain>` are docker labels on the pstack\n * container, not file config. This page cannot lock you out of the page you would use to undo a bad\n * save. That is stated in the UI, because an operator hesitating over a save deserves to know it.\n *\n * `previous` from a save is an in-session undo. There is deliberately no history on disk: the obvious\n * place to keep it is the one directory that must contain nothing but dynamic config.\n */\nimport { computed, ref } from 'vue';\nimport { api, problem } from '../api/client';\nimport type {\n LiveRoutesResponse,\n RoutingFile,\n RoutingListResponse,\n RoutingReadResponse,\n RoutingWriteResponse,\n RuntimeRoute,\n} from '../api/types';\nimport { settings } from '../composables/useSettings';\nimport { stamp } from '../composables/useFormat';\nimport { toast } from '../composables/useToasts';\nimport ActionButton from '../components/ActionButton.vue';\nimport ErrorNote from '../components/ErrorNote.vue';\nimport InfoHint from '../components/InfoHint.vue';\nimport SkeletonList from '../components/SkeletonList.vue';\nimport HelpModal from '../components/HelpModal.vue';\nimport RefreshButton from '../components/RefreshButton.vue';\nimport RouteTarget from '../components/RouteTarget.vue';\n\n/**\n * The live routes, from container labels.\n *\n * This page used to show only the file provider, and the reported confusion was exactly right: a\n * deployment goes up, its hostname appears, and nothing here changes — because per-PR routers are\n * DOCKER labels and the files below are Traefik's *other* provider. Showing both is what makes the\n * page match what \"routing\" means to whoever opened it.\n *\n * The table is fixed-layout inside `.table-scroll`, like the deployment's own: host-wide, every\n * router and project name carries a stack name, and under auto layout the longest one on the host\n * set the width for all of them. `RouteTarget` is shared with that table so the two cannot come to\n * describe the same missing address differently.\n */\nconst live = ref<RuntimeRoute[]>([]);\nconst liveReachable = ref<boolean | null>(null);\n\nconst files = ref<RoutingFile[]>([]);\nconst dir = ref('');\nconst writable = ref<boolean | null>(null);\nconst loaded = ref(false);\nconst listError = ref('');\n\n/** The open file. `null` name means a new one. */\nconst openName = ref<string | null>(null);\nconst draft = ref('');\nconst original = ref('');\nconst withheld = ref(false);\nconst loadingFile = ref(false);\nconst saving = ref(false);\nconst fileError = ref('');\nconst newName = ref('');\n/** Last replaced content, offered as an undo for the rest of the session. */\nconst undo = ref<{ name: string; content: string } | null>(null);\nconst confirmDelete = ref('');\n\nconst dirty = computed(() => openName.value !== null && draft.value !== original.value);\nconst canSave = computed(\n () => !!settings.token && !saving.value && draft.value.trim().length > 0 && (dirty.value || openName.value === ''),\n);\n\nconst STARTER = `http:\n middlewares:\n # An example — replace it. Middlewares go UNDER http; at the top level Traefik ignores them.\n ip-allow:\n ipAllowList:\n sourceRange:\n - 203.0.113.0/24\n`;\n\n/** Both halves: the file provider's directory AND the routes Traefik actually has. */\nasync function refreshAll(): Promise<void> {\n await Promise.all([loadList(), loadLive()]);\n}\n\nasync function loadList(): Promise<void> {\n const r = await api.get<RoutingListResponse>('/api/routing');\n loaded.value = true;\n if (!r.ok) {\n listError.value = problem(r, 'load the routing files');\n return;\n }\n listError.value = '';\n files.value = r.body.files ?? [];\n dir.value = r.body.dir ?? '';\n writable.value = r.body.writable ?? false;\n}\n\nasync function loadLive(): Promise<void> {\n const r = await api.get<LiveRoutesResponse>('/api/routing/live');\n if (!r.ok) {\n liveReachable.value = false;\n return;\n }\n liveReachable.value = r.body.reachable;\n live.value = r.body.routes ?? [];\n}\n\nvoid loadList();\nvoid loadLive();\n\nasync function open(name: string): Promise<void> {\n openName.value = name;\n loadingFile.value = true;\n fileError.value = '';\n withheld.value = false;\n confirmDelete.value = '';\n // Authenticated: dynamic config holds basic-auth hashes and forward-auth URLs.\n const r = await api.getAuthed<RoutingReadResponse>(`/api/routing/${encodeURIComponent(name)}`);\n loadingFile.value = false;\n if (!r.ok) {\n fileError.value = problem(r, 'open this file');\n return;\n }\n if (r.body.sourceWithheld) {\n withheld.value = true;\n draft.value = '';\n original.value = '';\n return;\n }\n draft.value = r.body.content ?? '';\n original.value = draft.value;\n}\n\nfunction startNew(): void {\n openName.value = '';\n newName.value = '';\n draft.value = STARTER;\n original.value = '';\n withheld.value = false;\n fileError.value = '';\n}\n\nfunction close(): void {\n openName.value = null;\n draft.value = '';\n original.value = '';\n fileError.value = '';\n}\n\nasync function save(): Promise<void> {\n const name = openName.value === '' ? newName.value.trim() : openName.value;\n if (!name) {\n fileError.value = 'Give the file a name, ending in .yml';\n return;\n }\n saving.value = true;\n fileError.value = '';\n const r = await api.put<RoutingWriteResponse>(`/api/routing/${encodeURIComponent(name)}`, {\n content: draft.value,\n });\n saving.value = false;\n if (!r.ok) {\n // Rendered verbatim: the server's message names the unknown section or the YAML error, which is\n // the whole diagnosis.\n fileError.value = problem(r, 'save this file');\n return;\n }\n if (r.body.previous) undo.value = { name, content: r.body.previous };\n original.value = draft.value;\n openName.value = name;\n toast('ok', `Saved ${name}. Traefik reloads within a second or two.`);\n void loadList();\n}\n\nasync function revert(): Promise<void> {\n const u = undo.value;\n if (!u) return;\n draft.value = u.content;\n openName.value = u.name;\n await save();\n undo.value = null;\n}\n\nasync function remove(): Promise<void> {\n const name = openName.value;\n if (!name || confirmDelete.value !== name) return;\n const r = await api.del<RoutingWriteResponse>(`/api/routing/${encodeURIComponent(name)}`);\n if (!r.ok) {\n fileError.value = problem(r, 'delete this file');\n return;\n }\n if (r.body.previous) undo.value = { name, content: r.body.previous };\n toast('ok', `Deleted ${name}.`);\n close();\n void loadList();\n}\n</script>\n\n<template>\n <div>\n <div class=\"page-head\">\n <div>\n <h1>\n Routing\n <HelpModal title=\"How routing files work, and what can go wrong\">\n <p>\n <b>Traefik reads this directory as a whole.</b> One file it cannot parse and it reports a\n problem for the <em>directory</em> — so the symptom is other, unrelated routes\n disappearing rather than an error about the file you just saved.\n </p>\n <p>\n Saves here are checked before they are written and replace the old file in one step, so a\n file that would break the directory never reaches Traefik in the first place.\n </p>\n <p>\n <b>This page cannot lock you out.</b> It and the API are routed by their containers'\n own settings, not by these files — no save here can take away the page you would use to\n undo it.\n </p>\n <p>\n What belongs here: shared middleware (sign-in prompts, rate limits, address\n allow-lists), TLS options, the catch-all fallback, and routes to things running outside\n this host's previews. A single preview's own routes are not here — those travel with the\n deployment.\n </p>\n </HelpModal>\n </h1>\n <div class=\"sub\">\n Every route on this host, and the config files behind them\n <InfoHint label=\"what belongs in these files\">\n Middleware (basic auth, rate limits, IP allow-lists), TLS options, the catch-all fallback\n router, and routes to anything running outside compose. Per-PR routers are not here —\n those are labels in each deployment's own compose file.\n </InfoHint>\n </div>\n </div>\n <span class=\"grow\" />\n <button v-if=\"writable\" class=\"btn primary\" @click=\"startNew\">New file</button>\n <span class=\"grow\" />\n <RefreshButton :run=\"refreshAll\" />\n </div>\n\n <ErrorNote v-if=\"listError\" :text=\"listError\" title=\"Could not load the routing files.\" />\n\n <div v-if=\"undo\" class=\"banner info\">\n <b>Replaced {{ undo.name }}.</b>\n <p>\n The previous contents are still here for this session.\n <button class=\"btn sm\" @click=\"revert\">Put it back</button>\n </p>\n </div>\n\n <!-- ============================ live routes ============================ -->\n <section class=\"panel\">\n <div class=\"phead\">\n <h2 class=\"section\">Live routes</h2>\n <span class=\"grow\" />\n <span class=\"mute\" style=\"font-size: var(--t-sm)\">\n from container labels\n <InfoHint label=\"why routes are not in the files below\" align=\"end\">\n Traefik reads two providers. Per-PR routers are <b>labels on containers</b>, written by each\n deployment's own compose file — so deploying a stack changes this list and never the files.\n The files are the other provider: middleware, TLS options, the fallback router.\n </InfoHint>\n </span>\n </div>\n\n <div v-if=\"liveReachable === false\" class=\"banner warn\">\n <b>Docker did not answer.</b>\n <p>Routes could not be listed — which is not the same as there being none.</p>\n </div>\n\n <div v-else-if=\"live.length\" class=\"table-scroll\">\n <table class=\"cards tbl-fixed t-live\">\n <!--\n Host-wide, so every identifier here is longer than its per-deployment equivalent: routers\n and projects both carry the stack name. URL still wraps rather than clips — it is the one\n value on the row anyone reads to the end.\n -->\n <colgroup>\n <col style=\"width: 34%\" />\n <col style=\"width: 24%\" />\n <col style=\"width: 20%\" />\n <col style=\"width: 22%\" />\n </colgroup>\n <thead>\n <tr>\n <th>URL</th>\n <th>Forwards to</th>\n <th>Deployment</th>\n <th>Router</th>\n </tr>\n </thead>\n <tbody class=\"stagger\">\n <tr v-for=\"(r, i) in live\" :key=\"`${r.container}-${r.router}`\" :style=\"{ '--i': i }\">\n <td class=\"cell-wrap\" data-label=\"url\">\n <div v-for=\"h in r.hosts\" :key=\"h\">\n <a v-if=\"!h.startsWith('(pattern)')\" :href=\"`https://${h}`\" target=\"_blank\" rel=\"noreferrer\">\n {{ h }}\n </a>\n <span v-else class=\"mono mute\">{{ h }}</span>\n </div>\n <span v-if=\"!r.hosts.length\" class=\"mute\">no host in the rule</span>\n </td>\n <td data-label=\"forwards to\">\n <RouteTarget :route=\"r\" />\n </td>\n <td data-label=\"deployment\">\n <RouterLink\n v-if=\"r.project\"\n class=\"cell-clip\"\n :title=\"r.project\"\n :to=\"`/deployments/${encodeURIComponent(r.project)}/runtime`\"\n >\n {{ r.project }}\n </RouterLink>\n <span v-else class=\"mute\">—</span>\n </td>\n <td class=\"dim\" data-label=\"router\">\n <span class=\"cell-clip\" :title=\"r.router\">{{ r.router }}</span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <p v-else class=\"mute\">\n No container on this host declares a Traefik router. A deployment's routes come from labels in\n its own compose file — open a deployment's <b>Containers & routes</b> tab to see what is\n missing.\n </p>\n </section>\n\n <!-- ============================ config files ============================ -->\n <section class=\"panel\">\n <div class=\"phead\">\n <h2 class=\"section\">Config files</h2>\n <span class=\"grow\" />\n <span v-if=\"dir\" class=\"mute\" style=\"font-size: var(--t-sm)\">\n <span class=\"mute\">{{ dir }}</span>\n </span>\n </div>\n\n <!--\n The blast radius, stated once and up front — and the reassurance alongside it, because \"this can\n break everything\" without \"you will still be able to fix it\" just makes people avoid the page.\n -->\n\n <div v-if=\"writable === false\" class=\"banner failed\">\n <b>Read-only: the API cannot write to this directory.</b>\n <p>\n The control stack mounts it into the API from 0.4.0 onward. Re-run\n setup again on the host to pick up the mount — it is safe to repeat, and it recreates\n the control containers.\n </p>\n </div>\n\n <div v-else-if=\"!settings.token\" class=\"banner info\">\n <b>Viewing needs a token too.</b>\n <p>\n These files hold basic-auth hashes and forward-auth URLs, so their contents are not served\n unauthenticated. <RouterLink to=\"/settings\">Add your token</RouterLink>.\n </p>\n </div>\n\n <SkeletonList v-if=\"!loaded\" :rows=\"3\" />\n <ul v-else-if=\"files.length\" class=\"kvlist\">\n <li v-for=\"f in files\" :key=\"f.name\">\n <span class=\"k\">\n <button class=\"ghost sm\" @click=\"open(f.name)\">{{ f.name }}</button>\n </span>\n <span class=\"v mute\" style=\"font-size: var(--t-sm)\">\n {{ f.size }} bytes · {{ stamp(f.updatedAt) }}\n </span>\n </li>\n </ul>\n <p v-else class=\"mute\">\n No files yet. Everything is routed by container labels, which is a perfectly good place to be.\n </p>\n </section>\n\n <section v-if=\"openName !== null\" class=\"panel\">\n <div class=\"phead\">\n <h2 class=\"section\">{{ openName === '' ? 'New file' : openName }}</h2>\n <span v-if=\"dirty\" class=\"badge warn\">unsaved</span>\n <span class=\"grow\" />\n <button class=\"ghost sm\" @click=\"close\">Close</button>\n </div>\n\n <div v-if=\"openName === ''\" class=\"field\" style=\"max-width: 340px\">\n <label for=\"fname\">File name</label>\n <input\n id=\"fname\"\n v-model.trim=\"newName\"\n type=\"text\"\n placeholder=\"middleware.yml\"\n spellcheck=\"false\"\n autocomplete=\"off\"\n />\n <div class=\"mute hint\">Lower case, ending in <code>.yml</code>.</div>\n </div>\n\n <SkeletonList v-if=\"loadingFile\" :rows=\"4\" />\n\n <div v-else-if=\"withheld\" class=\"banner plain\">\n <b>Hidden without an access token.</b>\n <p>\n <RouterLink to=\"/settings\">Add your token</RouterLink> to read and edit this file.\n </p>\n </div>\n\n <template v-else>\n <div class=\"field\">\n <label for=\"content\">Contents</label>\n <textarea id=\"content\" v-model=\"draft\" rows=\"18\" spellcheck=\"false\" />\n </div>\n\n <ErrorNote v-if=\"fileError\" :text=\"fileError\" title=\"Traefik would not accept this.\" />\n\n <div class=\"row\" style=\"margin-top: var(--s4)\">\n <ActionButton variant=\"primary\" :pending=\"saving\" :disabled=\"!canSave\" @click=\"save\">\n {{ saving ? 'Saving…' : 'Save' }}\n </ActionButton>\n <span v-if=\"!settings.token\" class=\"mute\">Saving needs a token.</span>\n </div>\n\n <template v-if=\"openName\">\n <h2 class=\"section\" style=\"margin: var(--s5) 0 var(--s3)\">Delete this file</h2>\n <p class=\"dim\">\n Whatever it configures stops applying as soon as Traefik reloads. If it holds a router,\n those hostnames stop resolving to anything.\n </p>\n <div class=\"field\" style=\"max-width: 340px\">\n <label :for=\"`confirm-${openName}`\">\n Type <b>{{ openName }}</b> to confirm\n </label>\n <input\n :id=\"`confirm-${openName}`\"\n v-model.trim=\"confirmDelete\"\n type=\"text\"\n :placeholder=\"openName\"\n spellcheck=\"false\"\n autocomplete=\"off\"\n />\n </div>\n <div class=\"row\">\n <ActionButton\n variant=\"danger\"\n :disabled=\"confirmDelete !== openName || !settings.token\"\n :title=\"confirmDelete !== openName ? 'Type the file name to confirm.' : undefined\"\n @click=\"remove\"\n >\n Delete\n </ActionButton>\n </div>\n </template>\n </template>\n </section>\n </div>\n</template>\n\n<style scoped>\n/*\n * `.t-live`'s floor is in `app.css` with the other two, beside the `.tbl-fixed` comment that\n * promises it. It is derived from the `<colgroup>` above.\n */\n</style>\n"],"names":["STARTER","live","ref","liveReachable","files","dir","writable","loaded","listError","openName","draft","original","withheld","loadingFile","saving","fileError","newName","undo","confirmDelete","dirty","computed","canSave","settings","refreshAll","loadList","loadLive","r","api","problem","open","name","startNew","close","save","toast","revert","u","remove","_createElementBlock","_createElementVNode","_hoisted_1","_createVNode","HelpModal","_cache","_hoisted_2","InfoHint","RefreshButton","_createBlock","ErrorNote","_openBlock","_hoisted_3","_toDisplayString","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_Fragment","_renderList","i","_hoisted_11","h","_hoisted_13","_hoisted_12","_hoisted_14","_hoisted_15","RouteTarget","_hoisted_16","_component_RouterLink","_createTextVNode","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_unref","_hoisted_26","_hoisted_27","f","_hoisted_28","$event","_hoisted_29","_hoisted_30","stamp","_hoisted_31","SkeletonList","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","ActionButton","_hoisted_40","_hoisted_41","_hoisted_44"],"mappings":"4hEAmFMA,GAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wCA3BhB,MAAMC,EAAOC,EAAoB,EAAE,EAC7BC,EAAgBD,EAAoB,IAAI,EAExCE,EAAQF,EAAmB,EAAE,EAC7BG,EAAMH,EAAI,EAAE,EACZI,EAAWJ,EAAoB,IAAI,EACnCK,EAASL,EAAI,EAAK,EAClBM,EAAYN,EAAI,EAAE,EAGlBO,EAAWP,EAAmB,IAAI,EAClCQ,EAAQR,EAAI,EAAE,EACdS,EAAWT,EAAI,EAAE,EACjBU,EAAWV,EAAI,EAAK,EACpBW,EAAcX,EAAI,EAAK,EACvBY,EAASZ,EAAI,EAAK,EAClBa,EAAYb,EAAI,EAAE,EAClBc,EAAUd,EAAI,EAAE,EAEhBe,EAAOf,EAA8C,IAAI,EACzDgB,EAAgBhB,EAAI,EAAE,EAEtBiB,EAAQC,EAAS,IAAMX,EAAS,QAAU,MAAQC,EAAM,QAAUC,EAAS,KAAK,EAChFU,EAAUD,EACd,IAAM,CAAC,CAACE,EAAS,OAAS,CAACR,EAAO,OAASJ,EAAM,MAAM,OAAO,OAAS,IAAMS,EAAM,OAASV,EAAS,QAAU,GAAA,EAajH,eAAec,GAA4B,CACzC,MAAM,QAAQ,IAAI,CAACC,IAAYC,EAAA,CAAU,CAAC,CAC5C,CAEA,eAAeD,GAA0B,CACvC,MAAME,EAAI,MAAMC,EAAI,IAAyB,cAAc,EAE3D,GADApB,EAAO,MAAQ,GACX,CAACmB,EAAE,GAAI,C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ACX,aAAa,KAAA,iBAJCS,EAAA,aAAN,CAAA,KAAR,EAAA,CAA4B,MAOhCqB,EASM,MATNgE,GASM,CARJ9D,EAOe2D,EAAA,CANb,QAAQ,SACP,SAAUlF,EAAA,QAAkBT,SAAQ,CAAKwE,EAAA3D,CAAA,EAAS,MAClD,MAAOJ,EAAA,QAAkBT,EAAA,uCAA8C,OACvE,QAAO4B,EAAA,aACT,IAED,CAAA,GAAAM,EAAA,EAAA,IAAAA,EAAA,EAAA,EAAA,GAFC,WAED,EAAA,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{d as O,z as _,w as m,u as v,g as u,o as n,e as h,a as t,t as a,E as $,f as l,c as o,r as C,F as c,k as S,N as V,x as W,_ as U,j as x,l as H,D as z,M as E,p as B,C as F,U as K}from"./index-ChQCta5r.js";import{d as T,v as M}from"./useDeployment-DiChk3VG.js";import{_ as G}from"./SkeletonList.vue_vue_type_script_setup_true_lang-Veni2uNM.js";import{_ as L}from"./ActionButton.vue_vue_type_script_setup_true_lang-pLJQfFvY.js";import{_ as Q}from"./ErrorNote.vue_vue_type_script_setup_true_lang-BaTXNX-q.js";import{D as q,a as J,b as X,c as Y,d as Z,e as ee,f as te}from"./DialogTrigger-BKNFZDUU.js";import{_ as j}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{_ as se}from"./RouteTarget.vue_vue_type_script_setup_true_lang-mCKpGvoV.js";import{_ as ne}from"./RefreshButton.vue_vue_type_script_setup_true_lang-zOMuwEGt.js";import"./useVars-VN9gYdR6.js";import"./Teleport-Cy-A7RhK.js";const oe={class:"help-head"},le={class:"help-body"},ae=O({__name:"FindingsModal",props:{findings:{}},setup(N){const i=N,y={error:0,warn:1,info:2},k=S(()=>[...i.findings].sort((b,p)=>y[b.level]-y[p.level])),g=S(()=>{var b;return((b=k.value[0])==null?void 0:b.level)??"info"}),I={error:"Blocking",warn:"Worth checking",info:"Notes"},R={error:"failed",warn:"warn",info:"info"},P={error:"failed",warn:"warn",info:"plain"};return(b,p)=>N.findings.length?(n(),_(v(q),{key:0},{default:m(()=>[h(v(J),{class:$(["btn sm findings-btn",g.value])},{default:m(()=>[t("span",{class:$(["badge",R[g.value]])},a(N.findings.length),3),l(" "+a(I[g.value]),1)]),_:1},8,["class"]),h(v(te),null,{default:m(()=>[h(v(X),{class:"scrim help-scrim"}),h(v(Y),{class:"help-modal"},{default:m(()=>[t("div",oe,[h(v(Z),{class:"help-title"},{default:m(()=>[...p[0]||(p[0]=[l("What pstack noticed",-1)])]),_:1}),h(v(ee),{class:"ghost sm","aria-label":"Close"},{default:m(()=>[...p[1]||(p[1]=[l("Close",-1)])]),_:1})]),t("div",le,[(n(!0),o(c,null,C(k.value,(w,D)=>(n(),o("div",{key:D,class:$(["banner",P[w.level]])},[t("b",null,a(I[w.level]),1),t("p",null,a(w.message),1)],2))),128))])]),_:1})]),_:1})]),_:1})):u("",!0)}}),re=j(ae,[["__scopeId","data-v-c92eabc7"]]),ie={key:0,class:"banner warn"},de={key:0,class:"row",style:{margin:"var(--s3) 0"}},ue={key:1,class:"banner ok"},pe={class:"panel"},me={class:"phead"},he={class:"mute",style:{"font-size":"var(--t-sm)"}},fe={style:{"margin-top":"var(--s2)"}},ve={class:"code",style:{"white-space":"pre-wrap",margin:"var(--s1) 0"}},ge={key:0,class:"table-scroll"},ce={class:"cards tbl-fixed t-routes"},ye={class:"stagger"},ke={class:"cell-wrap","data-label":"url"},be=["href"],we={key:1,class:"mono mute"},_e={key:0,class:"mute"},$e={"data-label":"forwards to"},Re=["title"],Ce={"data-label":"router"},Te=["title"],Se={key:0,class:"mute",style:{"font-size":"var(--t-sm)"}},Ne={"data-label":"tls"},Ie={key:0,class:"badge ok"},De={key:1,class:"badge off"},xe={key:1,class:"banner warn"},Pe={class:"panel"},Ae={class:"phead"},Le={class:"mute",style:{"font-size":"var(--t-sm)"}},Ue={key:0,class:"table-scroll"},ze={key:0,style:{width:"14ch"}},Ee={key:0},Be={class:"stagger"},Fe={class:"name","data-label":"service"},Ke=["title"],Me=["title"],Oe={key:0,"data-label":"node"},je=["title"],Ve={key:0,class:"badge",title:"runs on another swarm node — logs reach it through the manager; a shell and stop/start do not"},We={"data-label":"state"},He={"data-label":"ports"},Ge={class:"mono"},Qe={key:0,class:"mute"},qe={key:0,class:"mute"},Je={"data-label":"networks"},Xe=["title"],Ye=["title"],Ze={class:"dim","data-label":"image"},et=["title"],tt={class:"row-actions","data-label":""},st={key:0,class:"badge",title:"a one-shot job — it runs to completion; there is no long-lived container to start, stop, or open a shell in"},nt={key:1,class:"mute",style:{"font-size":"var(--t-sm)"},title:"runs on another swarm node — redeploy the stack, or act on the worker itself"},ot=["href"],lt={key:1,class:"mute"},at=O({__name:"RuntimeTab",setup(N){const i=x(null),y=x(""),k=x(!0);async function g(){const r=await B.get(`/api/deployments/${encodeURIComponent(T.id)}/runtime${M.value}`);if(k.value=!1,!r.ok){y.value=F(r,"inspect what is running");return}y.value="",i.value=r.body}V(()=>T.id,()=>{k.value=!0,g()},{immediate:!0}),W(()=>void g(),8e3);const I=S(()=>{var r;return((r=i.value)==null?void 0:r.containers.filter(e=>e.state==="running").length)??0}),R=S(()=>{var r;return((r=i.value)==null?void 0:r.containers.some(e=>e.node))??!1}),P=S(()=>location.host.replace(/^(control|api)\./,""));function b(r){const e=r.split(".");return e.length===3?`${e[1]}.${e[2]}`:r}const p=x("");async function w(r,e){p.value=`${e}:${r.name}`;const f=await B.post(`/api/deployments/${encodeURIComponent(T.id)}/containers/${encodeURIComponent(r.name)}/${e}${M.value}`);if(p.value="",!f.ok){K("error",F(f,`${e} ${r.name}`));return}K("ok",f.body.note??`${r.name}: ${e} done.`),g()}function D(r){var f;const e=(f=i.value)==null?void 0:f.routes.filter(s=>s.container===r.name||s.container===r.service).flatMap(s=>s.hosts).find(s=>!s.startsWith("(pattern)"));return e?`https://${e}`:null}return(r,e)=>{const f=H("RouterLink");return n(),o("div",null,[y.value?(n(),_(Q,{key:0,text:y.value,title:"Could not inspect this deployment."},null,8,["text"])):u("",!0),k.value&&!i.value?(n(),_(G,{key:1,rows:5})):i.value?(n(),o(c,{key:2},[i.value.reachable?(n(),o(c,{key:1},[i.value.findings.length?(n(),o("div",de,[h(re,{findings:i.value.findings},null,8,["findings"])])):u("",!0),!i.value.findings.length&&i.value.containers.length?(n(),o("div",ue,[...e[1]||(e[1]=[t("b",null,"Nothing looks wrong.",-1),t("p",null," Every container is attached to the ingress network and every router has a rule and a port. If a hostname still fails, the next suspects are DNS and the certificate. ",-1)])])):u("",!0),t("section",pe,[t("div",me,[e[13]||(e[13]=t("h2",{class:"section"},"Routing",-1)),e[14]||(e[14]=t("span",{class:"grow"},null,-1)),t("span",he,[l(" TLS: "+a(i.value.challenge==="unknown"?"unknown":i.value.challenge)+" ",1),h(U,{label:"why the TLS mode matters here",align:"end"},{default:m(()=>[e[6]||(e[6]=l(" Under HTTP-01 every per-PR router needs ",-1)),e[7]||(e[7]=t("code",null,"tls.certresolver=le",-1)),e[8]||(e[8]=l(", because each hostname resolves its own certificate. Under DNS-01 — and under ",-1)),e[9]||(e[9]=t("code",null,"dns-persist-01",-1)),e[10]||(e[10]=l(", where the host serves a wildcard you supplied — that inverts: one certificate covers every preview, and a per-PR certresolver makes each PR order its own and burn the weekly limit. Read from what the host actually has: a stored wildcard if there is one, otherwise the running Traefik's own flags. ",-1)),t("p",fe,[e[3]||(e[3]=t("b",null,"To stop per-PR ordering without touching the host,",-1)),e[4]||(e[4]=l(" store a wildcard you obtained yourself on the ",-1)),h(f,{to:"/control"},{default:m(()=>[...e[2]||(e[2]=[l("Control stack",-1)])]),_:1}),e[5]||(e[5]=l(" page — no re-init, no restart, and the redeploy is a button there. ",-1))]),e[11]||(e[11]=t("p",null,[t("b",null,"Moving Traefik's own resolver to DNS-01 is a host command"),l(" — and not one to type from memory: "),t("code",null,"init"),l(" re-renders from its arguments alone, so every flag you omit silently reverts to its default. Ask the host for its own line first: ")],-1)),t("pre",ve,"ssh "+a(P.value)+`
|
|
2
|
+
pstack upgrade -n | grep 'pstack init'`,1),e[12]||(e[12]=t("p",null,[l(" Re-run that line with "),t("code",null,"--challenge dns01 --dns-provider …"),l(" added and "),t("code",null,"PSTACK_TOKEN"),l(" from "),t("code",null,"control/.env"),l(", then "),t("b",null,"redeploy every stack"),l(": routers are labelled at deploy time, so the ones already up still carry "),t("code",null,"certresolver=le"),l(" and would each order their own certificate instead of inheriting the wildcard. Full playbook, rollback included: "),t("code",null,"docs/tls-challenge.md"),l(". ")],-1))]),_:1})])]),i.value.routes.length?(n(),o("div",ge,[t("table",ce,[e[20]||(e[20]=t("colgroup",null,[t("col",{style:{width:"34%"}}),t("col",{style:{width:"26%"}}),t("col",{style:{width:"26%"}}),t("col",{style:{width:"14%"}})],-1)),t("thead",null,[t("tr",null,[e[17]||(e[17]=t("th",null,"URL",-1)),t("th",null,[e[16]||(e[16]=l(" Forwards to ",-1)),h(U,{label:"how a URL reaches a port"},{default:m(()=>[...e[15]||(e[15]=[l(" Traefik's docker provider resolves the container's IP on ",-1),t("code",null,"preview-ingress",-1),l(" and dials it on the port from ",-1),t("code",null,"loadbalancer.server.port",-1),l(" — it does ",-1),t("em",null,"not",-1),l(" use ",-1),t("code",null,"service:port",-1),l(" DNS. So the port here is the one inside the container, and publishing a host port is unnecessary. ",-1)])]),_:1})]),e[18]||(e[18]=t("th",null,"Router",-1)),e[19]||(e[19]=t("th",null,"TLS",-1))])]),t("tbody",ye,[(n(!0),o(c,null,C(i.value.routes,(s,A)=>(n(),o("tr",{key:s.router,style:z({"--i":A})},[t("td",ke,[(n(!0),o(c,null,C(s.hosts,d=>(n(),o("div",{key:d},[d.startsWith("(pattern)")?(n(),o("span",we,a(d),1)):(n(),o("a",{key:0,href:`https://${d}`,target:"_blank",rel:"noreferrer"},a(d),9,be))]))),128)),s.hosts.length?u("",!0):(n(),o("span",_e,"no host in the rule"))]),t("td",$e,[h(se,{route:s},null,8,["route"]),t("div",{class:"mute cell-clip",style:{"font-size":"var(--t-sm)"},title:s.container},a(s.container),9,Re)]),t("td",Ce,[t("div",{class:"cell-clip",title:s.router},a(s.router),9,Te),s.priority?(n(),o("div",Se," priority "+a(s.priority),1)):u("",!0)]),t("td",Ne,[s.tls?(n(),o("span",Ie,a(s.certresolver||"inherited"),1)):(n(),o("span",De,"off"))])],4))),128))])])])):(n(),o("div",xe,[e[26]||(e[26]=t("b",null,"No routes. Traefik has not been told about this deployment.",-1)),t("p",null,[e[22]||(e[22]=l(" Routes come from labels in ",-1)),e[23]||(e[23]=t("em",null,"your",-1)),e[24]||(e[24]=l(" compose file, not from pstack and not from the ",-1)),h(f,{to:"/routing"},{default:m(()=>[...e[21]||(e[21]=[l("Routing",-1)])]),_:1}),e[25]||(e[25]=l(" page (that is Traefik's file provider — middleware and TLS options, not per-PR routers). A reachable service needs four things: ",-1))]),e[27]||(e[27]=t("pre",{class:"code"},"labels:\n - traefik.enable=true # the host runs exposedbydefault=false\n - traefik.docker.network=preview-ingress # which network Traefik should dial\n - traefik.http.routers.<name>-${STACK}.rule=Host(`<name>-${STACK}.${PREVIEW_DOMAIN}`)\n - traefik.http.services.<name>-${STACK}.loadbalancer.server.port=80\nnetworks: [default, preview-ingress] # and preview-ingress: { external: true }",-1)),e[28]||(e[28]=t("p",{class:"mute"},[l(" Put "),t("code",null,"${STACK}"),l(" in the router and service names: Traefik's namespace is global across the host, so two deployments sharing a router name serve each other's containers. ")],-1))]))]),t("section",Pe,[t("div",Ae,[e[29]||(e[29]=t("h2",{class:"section"},"Containers",-1)),e[30]||(e[30]=t("span",{class:"grow"},null,-1)),t("span",Le,a(I.value)+" of "+a(i.value.containers.length)+" running ",1),h(ne,{run:g,busy:k.value},null,8,["busy"])]),i.value.containers.length?(n(),o("div",Ue,[t("table",{class:$(["cards tbl-fixed t-containers",{swarm:R.value}])},[t("colgroup",null,[e[31]||(e[31]=t("col",{style:{width:"22ch"}},null,-1)),R.value?(n(),o("col",ze)):u("",!0),e[32]||(e[32]=t("col",{style:{width:"12ch"}},null,-1)),e[33]||(e[33]=t("col",{style:{width:"13ch"}},null,-1)),e[34]||(e[34]=t("col",{style:{width:"20ch"}},null,-1)),e[35]||(e[35]=t("col",null,null,-1)),e[36]||(e[36]=t("col",{style:{width:"288px"}},null,-1))]),t("thead",null,[t("tr",null,[e[37]||(e[37]=t("th",null,"Service",-1)),R.value?(n(),o("th",Ee,"Node")):u("",!0),e[38]||(e[38]=t("th",null,"State",-1)),e[39]||(e[39]=t("th",null,"Ports",-1)),e[40]||(e[40]=t("th",null,"Networks",-1)),e[41]||(e[41]=t("th",null,"Image",-1)),e[42]||(e[42]=t("th",{"aria-label":"Actions"},null,-1))])]),t("tbody",Be,[(n(!0),o(c,null,C(i.value.containers,(s,A)=>(n(),o("tr",{key:s.id,style:z({"--i":A})},[t("td",Fe,[t("div",{class:"cell-clip",title:s.service??s.name},a(s.service??s.name),9,Ke),t("div",{class:"mute task cell-clip",title:s.name},a(b(s.name)),9,Me)]),R.value?(n(),o("td",Oe,[t("div",{class:"cell-clip",title:s.node??void 0},a(s.node??"—"),9,je),s.remote?(n(),o("span",Ve,"remote")):u("",!0)])):u("",!0),t("td",We,[t("span",{class:$(s.state==="running"?"s-ok":"s-failed")},a(v(E)(s.state)),3),s.health&&s.state==="running"?(n(),o("div",{key:0,class:$(["mute",s.health==="healthy"?"s-ok":"s-failed"]),style:{"font-size":"var(--t-sm)"}},a(v(E)(s.health)),3)):u("",!0)]),t("td",He,[(n(!0),o(c,null,C(s.ports,d=>(n(),o("div",{key:`${d.containerPort}/${d.protocol}`},[t("span",Ge,a(d.containerPort),1),d.hostPort?(n(),o("span",Qe," ← host "+a(d.hostPort),1)):u("",!0)]))),128)),s.ports.length?u("",!0):(n(),o("span",qe,"none exposed"))]),t("td",Je,[(n(!0),o(c,null,C(s.networks,d=>(n(),o("div",{key:d,class:"cell-clip",title:d},[t("span",{class:$(d==="preview-ingress"?"s-ok":"")},a(d),3)],8,Xe))),128)),s.ingressIp?(n(),o("div",{key:0,class:"mute mono cell-clip",style:{"font-size":"var(--t-sm)"},title:s.ingressIp},a(s.ingressIp),9,Ye)):u("",!0)]),t("td",Ze,[t("span",{class:"cell-clip",title:s.image},a(s.image),9,et)]),t("td",tt,[s.job?(n(),o("span",st,"one-shot")):s.remote?(n(),o("span",nt," on "+a(s.node),1)):s.state!=="running"?(n(),_(L,{key:2,class:"sm",variant:"ghost",pending:p.value===`start:${s.name}`,disabled:!!p.value,confirm:"Start it?",onRun:d=>w(s,"start")},{default:m(()=>[...e[43]||(e[43]=[l(" Start ",-1)])]),_:1},8,["pending","disabled","onRun"])):(n(),_(L,{key:3,class:"sm",variant:"ghost",pending:p.value===`stop:${s.name}`,disabled:!!p.value,confirm:"Stop it?",title:"Stops this container only. It stays stopped until something starts it.",onRun:d=>w(s,"stop")},{default:m(()=>[...e[44]||(e[44]=[l(" Stop ",-1)])]),_:1},8,["pending","disabled","onRun"])),!s.remote&&!s.job?(n(),_(L,{key:4,class:"sm",variant:"ghost",pending:p.value===`restart:${s.name}`,disabled:!!p.value,confirm:"Restart it?",onRun:d=>w(s,"restart")},{default:m(()=>[...e[45]||(e[45]=[l(" Restart ",-1)])]),_:1},8,["pending","disabled","onRun"])):u("",!0),h(f,{class:"btn sm ghost",to:`/deployments/${encodeURIComponent(v(T).id)}/logs?container=${encodeURIComponent(s.name)}`},{default:m(()=>[...e[46]||(e[46]=[l(" Logs ",-1)])]),_:1},8,["to"]),s.state==="running"&&!s.remote&&!s.job?(n(),_(f,{key:5,class:"btn sm ghost",to:`/deployments/${encodeURIComponent(v(T).id)}/terminal?container=${encodeURIComponent(s.name)}`},{default:m(()=>[...e[47]||(e[47]=[l(" Shell ",-1)])]),_:1},8,["to"])):u("",!0),s.state==="running"&&D(s)?(n(),o("a",{key:6,class:"btn sm ghost",href:D(s),target:"_blank",rel:"noreferrer"}," Open ",8,ot)):u("",!0)])],4))),128))])],2)])):(n(),o("p",lt," No containers for this stack. If you expected some, check that their profile is one the spec selects — a service behind a profile that is not enabled is never started. "))])],64)):(n(),o("div",ie,[...e[0]||(e[0]=[t("b",null,"Docker did not answer.",-1),t("p",null," Nothing below could be determined — this is not the same as nothing running. Check the daemon and the socket mount, then refresh. ",-1)])]))],64)):u("",!0)])}}}),yt=j(at,[["__scopeId","data-v-bd9b9ad5"]]);export{yt as default};
|
|
3
|
+
//# sourceMappingURL=RuntimeTab-DZ3MZE_K.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuntimeTab-DZ3MZE_K.js","sources":["../../src/components/FindingsModal.vue","../../src/views/tabs/RuntimeTab.vue"],"sourcesContent":["<script setup lang=\"ts\">\n/**\n * The runtime findings, as one button that opens them rather than a stack of banners.\n *\n * WHAT WAS WRONG. Every finding rendered as its own inline banner, unbounded. A deployment with a\n * dozen of them — which is exactly the deployment worth looking at — pushed the routing table and the\n * container table off the bottom of the screen, so the page that exists to show you what is running\n * showed you paragraphs about it instead.\n *\n * WHAT THE BANNERS DID WELL, AND IS KEPT. A `warn` announced itself: you could not open the tab and\n * miss it. So the trigger carries the count and the highest severity as COLOUR, not just a label —\n * three warnings and none look different from across the room, which a plain \"Findings\" button would\n * not. An empty list renders nothing at all: there is no button to wonder about.\n *\n * Built on `HelpModal`'s idiom rather than a second one — the same Reka Dialog, the same\n * `.help-*` classes, so focus trap, focus restore, scroll lock and Escape behave identically. It is a\n * separate component only because the trigger is the whole point here and `HelpModal`'s is a fixed\n * `?` glyph.\n */\nimport { computed } from 'vue';\nimport { DialogClose, DialogContent, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from 'reka-ui';\nimport type { RuntimeResponse } from '../api/types';\n\nconst props = defineProps<{ findings: RuntimeResponse['findings'] }>();\n\n/** Blocking first, then worth checking, then notes — the order the banners rendered in. */\nconst ORDER = { error: 0, warn: 1, info: 2 } as const;\nconst sorted = computed(() => [...props.findings].sort((a, b) => ORDER[a.level] - ORDER[b.level]));\n/** The highest severity present. Falls out of the sort — there is no second ranking to disagree. */\nconst worst = computed(() => sorted.value[0]?.level ?? 'info');\n\n/** The banners' own words, so the button and the thing it opens say the same thing. */\nconst LABEL = { error: 'Blocking', warn: 'Worth checking', info: 'Notes' } as const;\nconst BADGE = { error: 'failed', warn: 'warn', info: 'info' } as const;\n/** `info` has no banner tint — a note is not a state. */\nconst BANNER = { error: 'failed', warn: 'warn', info: 'plain' } as const;\n</script>\n\n<template>\n <DialogRoot v-if=\"findings.length\">\n <DialogTrigger class=\"btn sm findings-btn\" :class=\"worst\">\n <span class=\"badge\" :class=\"BADGE[worst]\">{{ findings.length }}</span>\n {{ LABEL[worst] }}\n </DialogTrigger>\n\n <DialogPortal>\n <DialogOverlay class=\"scrim help-scrim\" />\n <DialogContent class=\"help-modal\">\n <div class=\"help-head\">\n <DialogTitle class=\"help-title\">What pstack noticed</DialogTitle>\n <DialogClose class=\"ghost sm\" aria-label=\"Close\">Close</DialogClose>\n </div>\n <div class=\"help-body\">\n <div v-for=\"(f, i) in sorted\" :key=\"i\" class=\"banner\" :class=\"BANNER[f.level]\">\n <b>{{ LABEL[f.level] }}</b>\n <p>{{ f.message }}</p>\n </div>\n </div>\n </DialogContent>\n </DialogPortal>\n </DialogRoot>\n</template>\n\n<style scoped>\n/*\n * The trigger sits where the banners did, so it inherits their vertical rhythm (`.banner` is\n * `margin: var(--s3) 0`) rather than butting against the panel below it.\n */\n.findings-btn {\n margin: var(--s3) 0;\n}\n/*\n * `error` borrows `button.danger`'s treatment by name; `warn` has no button variant in the system, so\n * this is the same recipe in `--leak`. Both are the badge's colour repeated at the button's edge —\n * one hue per state, not two.\n */\n.findings-btn.error {\n background: var(--fail-soft);\n border-color: color-mix(in srgb, var(--fail) 45%, transparent);\n color: var(--fail);\n}\n.findings-btn.error:hover:not(:disabled) {\n background: color-mix(in srgb, var(--fail) 26%, transparent);\n border-color: color-mix(in srgb, var(--fail) 62%, transparent);\n}\n.findings-btn.warn {\n background: var(--leak-soft);\n border-color: color-mix(in srgb, var(--leak) 45%, transparent);\n color: var(--leak);\n}\n.findings-btn.warn:hover:not(:disabled) {\n background: color-mix(in srgb, var(--leak) 26%, transparent);\n border-color: color-mix(in srgb, var(--leak) 62%, transparent);\n}\n/*\n * Inside the modal the banners ARE the list, so the body's own padding already spaces the first and\n * last from the edges. `.help-body > * + *` keeps the gap between them.\n */\n.help-body > .banner:first-child {\n margin-top: 0;\n}\n.help-body > .banner:last-child {\n margin-bottom: 0;\n}\n</style>\n","<script setup lang=\"ts\">\n/**\n * What is actually running, and what Traefik was actually told about it.\n *\n * THE QUESTION THIS ANSWERS. \"The hostname does not work.\" Nothing in this UI could answer it: the\n * registry shows what was *submitted*, the logs show what the container *says*, and the reason a\n * request 404s is in neither — it is in the container's Traefik labels, which pstack never writes.\n *\n * The routing table is the direct answer to \"which URL maps to which port\". Traefik does **not** dial\n * `service_name:port`: its docker provider resolves the container's IP on the ingress network and\n * dials that, on the port from the `loadbalancer.server.port` label. That is why a service must be\n * attached to `preview-ingress`, why the port is the *container-internal* one, and why publishing a\n * host port is unnecessary. The `target` column shows the address Traefik assembled, so a missing\n * half is visible rather than inferred — and when there is no address, `RouteTarget` says which of\n * three reasons it is. \"Not on the ingress network\" was being printed over swarm services whose\n * network was fine, because the address is simply not knowable from a manager.\n *\n * FINDINGS ARE A BUTTON, NOT BANNERS. They used to lead the tab as a stack of banners: fine at one\n * finding, and at nine they pushed both tables off the screen — on the page whose whole job is those\n * tables. The count and the worst level ride on the trigger so a warning still announces itself\n * unopened (see `FindingsModal`). State that changes what you can do — \"Docker did not answer\",\n * \"nothing looks wrong\" — stays on the page, because it is one line and cannot grow.\n *\n * BOTH TABLES ARE FIXED-LAYOUT, INSIDE A SCROLLER. Under auto layout a single long image or task\n * name took width from every other column on the row, and `.panel > table` splits thead and tbody\n * into two table boxes that size their columns independently — which is why the headers never lined\n * up with the cells under them. The `<colgroup>`s below are those widths, stated once, beside the\n * headers they have to agree with; wrapping the table in `.table-scroll` is what opts it out of the\n * split and lets it scroll instead of squeezing.\n */\nimport { computed, ref, watch } from 'vue';\nimport { sentence } from '../../composables/useFormat';\nimport { api, problem } from '../../api/client';\nimport type { RuntimeContainer, RuntimeResponse } from '../../api/types';\nimport { dep, varsQuery } from '../../composables/useDeployment';\nimport { usePolling } from '../../composables/usePolling';\nimport SkeletonList from '../../components/SkeletonList.vue';\nimport ActionButton from '../../components/ActionButton.vue';\nimport ErrorNote from '../../components/ErrorNote.vue';\nimport FindingsModal from '../../components/FindingsModal.vue';\nimport InfoHint from '../../components/InfoHint.vue';\nimport RouteTarget from '../../components/RouteTarget.vue';\nimport { toast } from '../../composables/useToasts';\nimport RefreshButton from '../../components/RefreshButton.vue';\n\nconst rt = ref<RuntimeResponse | null>(null);\nconst error = ref('');\nconst loading = ref(true);\n\nasync function load(): Promise<void> {\n const r = await api.get<RuntimeResponse>(\n `/api/deployments/${encodeURIComponent(dep.id)}/runtime${varsQuery.value}`,\n );\n loading.value = false;\n if (!r.ok) {\n error.value = problem(r, 'inspect what is running');\n return;\n }\n error.value = '';\n rt.value = r.body;\n}\n\nwatch(() => dep.id, () => { loading.value = true; void load(); }, { immediate: true });\n// Containers change state during a deploy; the poll pauses itself when the tab is hidden.\nusePolling(() => void load(), 8000);\n\nconst running = computed(() => rt.value?.containers.filter((c) => c.state === 'running').length ?? 0);\n\n/**\n * Whether the node column exists at all — compose has no nodes to name.\n *\n * Hoisted rather than asked twice: the header and the cell were computing this separately, which is\n * how a header can end up describing a column the body did not render in the same position.\n */\nconst hasNode = computed(() => rt.value?.containers.some((c) => c.node) ?? false);\n\n/**\n * The preview domain, for the `init` line in the TLS hint — derived from where this page is served\n * rather than asked for, because `control.<domain>` and `api.<domain>` are the only two hostnames\n * that reach it.\n *\n * A guess, and a visible one: browse by IP or through a tunnel and you get that back, which reads as\n * obviously-not-your-domain in a command you are about to paste. Better than a placeholder nobody\n * can act on, and the alternative — a `domain` field on this response — would exist only for a\n * snippet.\n */\nconst domain = computed(() => location.host.replace(/^(control|api)\\./, ''));\n\n/**\n * The part of a container's name worth reading in a table cell.\n *\n * Compose names a container `<stack>-<service>-<n>`. Swarm names a TASK\n * `<stack>_<service>.<slot>.<task id>` — long, and its first half repeats the service already\n * printed on the line above, in a column that under swarm has to share the row with the node and\n * the row actions. The tail is the half that identifies which task this is: the slot and the id\n * `docker service ps` prints. Compose names hold no dots and come back untouched.\n *\n * The full name stays in the cell's `title` rather than in the text. Truncating the text would have\n * cut the id — the one part worth copying — and nothing here needs the whole name by hand anyway:\n * Logs, Shell and the container actions all carry it themselves.\n */\nfunction taskOf(name: string): string {\n const p = name.split('.');\n return p.length === 3 ? `${p[1]}.${p[2]}` : name;\n}\n\n/**\n * One container action in flight, as `action:name`.\n *\n * A single ref rather than a per-row flag: two `docker restart`s racing on the same stack is not\n * something to make easy, and the readiness watch each one starts would fight the other.\n */\nconst busy = ref('');\n\nasync function act(c: RuntimeContainer, action: 'start' | 'stop' | 'restart'): Promise<void> {\n busy.value = `${action}:${c.name}`;\n const r = await api.post<{ note?: string }>(\n `/api/deployments/${encodeURIComponent(dep.id)}/containers/${encodeURIComponent(c.name)}/${action}${varsQuery.value}`,\n );\n busy.value = '';\n if (!r.ok) {\n // Docker's own words. \"Already started\" and \"no such container\" are different problems and it\n // says both better than this layer could.\n toast('error', problem(r, `${action} ${c.name}`));\n return;\n }\n toast('ok', r.body.note ?? `${c.name}: ${action} done.`);\n // Read the table back rather than assuming the new state: a container that exits again immediately\n // is exactly the case worth seeing, and the 8s poll would show it a beat later anyway.\n void load();\n}\n\n/**\n * The hostname Traefik actually routes to this container, or null.\n *\n * Built from the ROUTES rather than guessed from the container: a router's rule is the only thing\n * that decides what URL reaches it, and a link assembled from a service name and a domain would be\n * a plausible-looking 404. Pattern hosts (`HostRegexp`) are skipped for the same reason — there is\n * no single address to send someone to.\n */\nfunction urlFor(c: RuntimeContainer): string | null {\n const host = rt.value?.routes\n // Under swarm the labels live on the service, so a route names `app` where the container is a\n // task called `pr-1_app.1.<id>`. Matching the name alone left every swarm row without a link to\n // a router that does point at it. Both tasks of one service share the URL — Traefik balances.\n .filter((r) => r.container === c.name || r.container === c.service)\n .flatMap((r) => r.hosts)\n .find((h) => !h.startsWith('(pattern)'));\n return host ? `https://${host}` : null;\n}\n</script>\n\n<template>\n <div>\n <ErrorNote v-if=\"error\" :text=\"error\" title=\"Could not inspect this deployment.\" />\n <SkeletonList v-if=\"loading && !rt\" :rows=\"5\" />\n\n <template v-else-if=\"rt\">\n <!--\n `reachable: false` is not \"nothing is running\". The stack may be perfectly healthy while this\n process cannot reach the Docker socket, and reporting that as empty is how a UI tells someone\n their live preview is gone.\n -->\n <div v-if=\"!rt.reachable\" class=\"banner warn\">\n <b>Docker did not answer.</b>\n <p>\n Nothing below could be determined — this is not the same as nothing running. Check the\n daemon and the socket mount, then refresh.\n </p>\n </div>\n\n <template v-else>\n <!--\n Findings first — as one control, not as their own page. The button is absent when there is\n nothing to say, so the row disappears with it rather than leaving an empty gap.\n -->\n <div v-if=\"rt.findings.length\" class=\"row\" style=\"margin: var(--s3) 0\">\n <FindingsModal :findings=\"rt.findings\" />\n </div>\n <div v-if=\"!rt.findings.length && rt.containers.length\" class=\"banner ok\">\n <b>Nothing looks wrong.</b>\n <p>\n Every container is attached to the ingress network and every router has a rule and a port.\n If a hostname still fails, the next suspects are DNS and the certificate.\n </p>\n </div>\n\n <!-- ============================ routing ============================ -->\n <section class=\"panel\">\n <div class=\"phead\">\n <h2 class=\"section\">Routing</h2>\n <span class=\"grow\" />\n <span class=\"mute\" style=\"font-size: var(--t-sm)\">\n TLS: {{ rt.challenge === 'unknown' ? 'unknown' : rt.challenge }}\n <InfoHint label=\"why the TLS mode matters here\" align=\"end\">\n Under HTTP-01 every per-PR router needs <code>tls.certresolver=le</code>, because each\n hostname resolves its own certificate. Under DNS-01 — and under\n <code>dns-persist-01</code>, where the host serves a wildcard you supplied — that\n inverts: one certificate covers every preview, and a per-PR certresolver makes each PR\n order its own and burn the weekly limit. Read from what the host actually has: a\n stored wildcard if there is one, otherwise the running Traefik's own flags.\n <!--\n The switch is NAMED, not offered, and deliberately not spelled out as a\n ready-to-paste `init` line. `init` re-renders the control stack from its ARGUMENTS\n ALONE — it reads nothing back — so a snippet here that omitted `--ui advanced`,\n `--orchestrator` or PSTACK_TOKEN would silently revert the UI, flip the\n orchestrator, or mint a new machine token and 401 every CI job on the host. This\n page cannot know any of those three: none is on the runtime payload and no route\n exposes them.\n\n So it points at the command that DOES know. `pstack upgrade -n` prints the host's\n own init line, built by the same `initFlags` an upgrade uses to re-init without\n changing anything nobody asked to change.\n -->\n <p style=\"margin-top: var(--s2)\">\n <b>To stop per-PR ordering without touching the host,</b> store a wildcard you\n obtained yourself on the <RouterLink to=\"/control\">Control stack</RouterLink> page —\n no re-init, no restart, and the redeploy is a button there.\n </p>\n <p>\n <b>Moving Traefik's own resolver to DNS-01 is a host command</b> — and not one to\n type from memory: <code>init</code> re-renders from its arguments alone, so every\n flag you omit silently reverts to its default. Ask the host for its own line first:\n </p>\n <pre\n class=\"code\"\n style=\"white-space: pre-wrap; margin: var(--s1) 0\"\n >ssh {{ domain }}\npstack upgrade -n | grep 'pstack init'</pre>\n <p>\n Re-run that line with <code>--challenge dns01 --dns-provider …</code> added and\n <code>PSTACK_TOKEN</code> from <code>control/.env</code>, then\n <b>redeploy every stack</b>: routers are labelled at deploy time, so the ones\n already up still carry <code>certresolver=le</code> and would each order their own\n certificate instead of inheriting the wildcard. Full playbook, rollback included:\n <code>docs/tls-challenge.md</code>.\n </p>\n </InfoHint>\n </span>\n </div>\n\n <div v-if=\"rt.routes.length\" class=\"table-scroll\">\n <table class=\"cards tbl-fixed t-routes\">\n <!--\n The widths, as percentages of whatever the panel gives us. URL is the widest because\n it is the value people read, and it WRAPS: a hostname's tail is which PR it is.\n -->\n <colgroup>\n <col style=\"width: 34%\" />\n <col style=\"width: 26%\" />\n <col style=\"width: 26%\" />\n <col style=\"width: 14%\" />\n </colgroup>\n <thead>\n <tr>\n <th>URL</th>\n <th>\n Forwards to\n <InfoHint label=\"how a URL reaches a port\">\n Traefik's docker provider resolves the container's IP on\n <code>preview-ingress</code> and dials it on the port from\n <code>loadbalancer.server.port</code> — it does <em>not</em> use\n <code>service:port</code> DNS. So the port here is the one inside the container,\n and publishing a host port is unnecessary.\n </InfoHint>\n </th>\n <th>Router</th>\n <th>TLS</th>\n </tr>\n </thead>\n <tbody class=\"stagger\">\n <tr v-for=\"(r, i) in rt.routes\" :key=\"r.router\" :style=\"{ '--i': i }\">\n <td class=\"cell-wrap\" data-label=\"url\">\n <div v-for=\"h in r.hosts\" :key=\"h\">\n <a v-if=\"!h.startsWith('(pattern)')\" :href=\"`https://${h}`\" target=\"_blank\" rel=\"noreferrer\">\n {{ h }}\n </a>\n <span v-else class=\"mono mute\">{{ h }}</span>\n </div>\n <span v-if=\"!r.hosts.length\" class=\"mute\">no host in the rule</span>\n </td>\n <td data-label=\"forwards to\">\n <RouteTarget :route=\"r\" />\n <!-- Under swarm this is the SERVICE name; either way it is matched, not read. -->\n <div class=\"mute cell-clip\" style=\"font-size: var(--t-sm)\" :title=\"r.container\">\n {{ r.container }}\n </div>\n </td>\n <td data-label=\"router\">\n <div class=\"cell-clip\" :title=\"r.router\">{{ r.router }}</div>\n <div v-if=\"r.priority\" class=\"mute\" style=\"font-size: var(--t-sm)\">\n priority {{ r.priority }}\n </div>\n </td>\n <td data-label=\"tls\">\n <span v-if=\"r.tls\" class=\"badge ok\">{{ r.certresolver || 'inherited' }}</span>\n <span v-else class=\"badge off\">off</span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <!--\n The reported failure, stated where it will be looked for. pstack does not write these\n labels — the deployment's own compose file does — so the fix is in the user's file.\n -->\n <div v-else class=\"banner warn\">\n <b>No routes. Traefik has not been told about this deployment.</b>\n <p>\n Routes come from labels in <em>your</em> compose file, not from pstack and not from the\n <RouterLink to=\"/routing\">Routing</RouterLink> page (that is Traefik's file provider —\n middleware and TLS options, not per-PR routers). A reachable service needs four things:\n </p>\n <pre class=\"code\">labels:\n - traefik.enable=true # the host runs exposedbydefault=false\n - traefik.docker.network=preview-ingress # which network Traefik should dial\n - traefik.http.routers.<name>-${STACK}.rule=Host(`<name>-${STACK}.${PREVIEW_DOMAIN}`)\n - traefik.http.services.<name>-${STACK}.loadbalancer.server.port=80\nnetworks: [default, preview-ingress] # and preview-ingress: { external: true }</pre>\n <p class=\"mute\">\n Put <code>${STACK}</code> in the router and service names: Traefik's namespace is global\n across the host, so two deployments sharing a router name serve each other's containers.\n </p>\n </div>\n </section>\n\n <!-- ============================ containers ============================ -->\n <section class=\"panel\">\n <div class=\"phead\">\n <h2 class=\"section\">Containers</h2>\n <span class=\"grow\" />\n <span class=\"mute\" style=\"font-size: var(--t-sm)\">\n {{ running }} of {{ rt.containers.length }} running\n </span>\n <RefreshButton :run=\"load\" :busy=\"loading\" />\n </div>\n\n <div v-if=\"rt.containers.length\" class=\"table-scroll\">\n <table class=\"cards tbl-fixed t-containers\" :class=\"{ swarm: hasNode }\">\n <!--\n THE NODE `<col>` CARRIES THE SAME `v-if` AS ITS `<th>`, and has to: one without the\n other shifts every column after it by one, which is the header-drift bug rebuilt by\n hand, in the swarm case that is already the worst one.\n\n Image takes no width — under fixed layout the unsized column absorbs what is left,\n so adding Node narrows the image rather than pushing the table wider. Actions is in\n px because it holds buttons, not text: five of them at their widest (Stop, Restart,\n Logs, Shell, Open), which `.row-actions` forbids to wrap, so the column is measured\n from the buttons rather than guessed. The table's floor in `app.css` is this\n colgroup added up; change one and change the other.\n -->\n <colgroup>\n <col style=\"width: 22ch\" />\n <col v-if=\"hasNode\" style=\"width: 14ch\" />\n <col style=\"width: 12ch\" />\n <col style=\"width: 13ch\" />\n <col style=\"width: 20ch\" />\n <col />\n <col style=\"width: 288px\" />\n </colgroup>\n <thead>\n <tr>\n <th>Service</th>\n <!-- Where, then how it is doing — the order the cells are in. They disagreed, so\n under swarm (the only time this column exists) every state read as a node. -->\n <th v-if=\"hasNode\">Node</th>\n <th>State</th>\n <th>Ports</th>\n <th>Networks</th>\n <th>Image</th>\n <th aria-label=\"Actions\" />\n </tr>\n </thead>\n <tbody class=\"stagger\">\n <tr v-for=\"(c, i) in rt.containers\" :key=\"c.id\" :style=\"{ '--i': i }\">\n <td class=\"name\" data-label=\"service\">\n <div class=\"cell-clip\" :title=\"c.service ?? c.name\">{{ c.service ?? c.name }}</div>\n <div class=\"mute task cell-clip\" :title=\"c.name\">{{ taskOf(c.name) }}</div>\n </td>\n <td v-if=\"hasNode\" data-label=\"node\">\n <div class=\"cell-clip\" :title=\"c.node ?? undefined\">{{ c.node ?? '—' }}</div>\n <!-- A task on another node: listed from the manager, out of reach of exec/stop. -->\n <span v-if=\"c.remote\" class=\"badge\" title=\"runs on another swarm node — logs reach it through the manager; a shell and stop/start do not\">remote</span>\n </td>\n <td data-label=\"state\">\n <span :class=\"c.state === 'running' ? 's-ok' : 's-failed'\">{{ sentence(c.state) }}</span>\n <!--\n Health is only reported while it is RUNNING. Docker keeps the last probe result on\n a stopped container, so an exited one rendered \"Exited / Healthy\" — a stale reading\n presented beside the fact that contradicts it.\n -->\n <div\n v-if=\"c.health && c.state === 'running'\"\n class=\"mute\"\n style=\"font-size: var(--t-sm)\"\n :class=\"c.health === 'healthy' ? 's-ok' : 's-failed'\"\n >\n {{ sentence(c.health) }}\n </div>\n </td>\n <td data-label=\"ports\">\n <div v-for=\"p in c.ports\" :key=\"`${p.containerPort}/${p.protocol}`\">\n <span class=\"mono\">{{ p.containerPort }}</span>\n <span v-if=\"p.hostPort\" class=\"mute\"> ← host {{ p.hostPort }}</span>\n </div>\n <span v-if=\"!c.ports.length\" class=\"mute\">none exposed</span>\n </td>\n <td data-label=\"networks\">\n <div v-for=\"n in c.networks\" :key=\"n\" class=\"cell-clip\" :title=\"n\">\n <span :class=\"n === 'preview-ingress' ? 's-ok' : ''\">{{ n }}</span>\n </div>\n <div v-if=\"c.ingressIp\" class=\"mute mono cell-clip\" style=\"font-size: var(--t-sm)\" :title=\"c.ingressIp\">\n {{ c.ingressIp }}\n </div>\n </td>\n <!-- Clipped, not wrapped: an image reference is matched against one you know, and\n `registry.example.com/team/app@sha256:…` costs three rows to say nothing new. -->\n <td class=\"dim\" data-label=\"image\">\n <span class=\"cell-clip\" :title=\"c.image\">{{ c.image }}</span>\n </td>\n <!--\n The three things anyone wants from a container row, without hunting for the tab\n that does it. Open goes to the URL Traefik actually assembled for THIS container\n (see `urlFor`), so it is absent rather than wrong when no router points here.\n -->\n <td class=\"row-actions\" data-label=\"\">\n <!--\n One container, not the service and not the stack. Start appears only when it is\n not running and Stop only when it is, so the control on screen is the one that\n would do something. Both destructive ones confirm in place.\n -->\n <!-- None of these reach a task on another node; docker's verbs are node-local. -->\n <!-- And none of them reach a one-shot job's row, which stands for the SERVICE:\n there is no container behind its name, so the verbs could only fail. -->\n <span v-if=\"c.job\" class=\"badge\" title=\"a one-shot job — it runs to completion; there is no long-lived container to start, stop, or open a shell in\">one-shot</span>\n <span v-else-if=\"c.remote\" class=\"mute\" style=\"font-size: var(--t-sm)\" title=\"runs on another swarm node — redeploy the stack, or act on the worker itself\">\n on {{ c.node }}\n </span>\n <ActionButton\n v-else-if=\"c.state !== 'running'\"\n class=\"sm\"\n variant=\"ghost\"\n :pending=\"busy === `start:${c.name}`\"\n :disabled=\"!!busy\"\n confirm=\"Start it?\"\n @run=\"act(c, 'start')\"\n >\n Start\n </ActionButton>\n <ActionButton\n v-else\n class=\"sm\"\n variant=\"ghost\"\n :pending=\"busy === `stop:${c.name}`\"\n :disabled=\"!!busy\"\n confirm=\"Stop it?\"\n title=\"Stops this container only. It stays stopped until something starts it.\"\n @run=\"act(c, 'stop')\"\n >\n Stop\n </ActionButton>\n <ActionButton\n v-if=\"!c.remote && !c.job\"\n class=\"sm\"\n variant=\"ghost\"\n :pending=\"busy === `restart:${c.name}`\"\n :disabled=\"!!busy\"\n confirm=\"Restart it?\"\n @run=\"act(c, 'restart')\"\n >\n Restart\n </ActionButton>\n <RouterLink\n class=\"btn sm ghost\"\n :to=\"`/deployments/${encodeURIComponent(dep.id)}/logs?container=${encodeURIComponent(c.name)}`\"\n >\n Logs\n </RouterLink>\n <RouterLink\n v-if=\"c.state === 'running' && !c.remote && !c.job\"\n class=\"btn sm ghost\"\n :to=\"`/deployments/${encodeURIComponent(dep.id)}/terminal?container=${encodeURIComponent(c.name)}`\"\n >\n Shell\n </RouterLink>\n <!--\n Only while running: the router label survives a stopped container, so the URL\n still exists and answers 502. A link that is certain to fail is worse than no link.\n -->\n <a\n v-if=\"c.state === 'running' && urlFor(c)\"\n class=\"btn sm ghost\"\n :href=\"urlFor(c)!\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n Open\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <p v-else class=\"mute\">\n No containers for this stack. If you expected some, check that their profile is one the\n spec selects — a service behind a profile that is not enabled is never started.\n </p>\n </section>\n </template>\n </template>\n </div>\n</template>\n\n<style scoped>\n/*\n * The second line of the service cell: the task, under the service it belongs to.\n *\n * The `max-width` cap is GONE. It was a ceiling on what this line could bid for under auto layout —\n * a bid is what auto layout runs on, and there is no bidding any more: the `<colgroup>` sets the\n * column and `.cell-clip` on the line keeps it inside. Two mechanisms for one width is how they\n * drift apart. `taskOf` still shortens what is shown; `title` still holds the whole name.\n */\n.task {\n font-size: var(--t-sm);\n}\n\n/*\n * The floors that make `.table-scroll` a scroller rather than decoration live in `app.css`, beside\n * the `.tbl-fixed` comment that promises them — one place, so a floor and the rule it belongs to\n * cannot be changed apart. They are derived from the `<colgroup>`s above: change a `<col>` and go\n * change the matching `min-width` there.\n */\n</style>\n"],"names":["props","__props","ORDER","sorted","computed","a","b","worst","_a","LABEL","BADGE","BANNER","_createBlock","_unref","DialogRoot","_createVNode","DialogTrigger","_normalizeClass","_createElementVNode","_toDisplayString","DialogPortal","DialogOverlay","DialogContent","_hoisted_1","DialogTitle","_cache","DialogClose","_hoisted_2","_openBlock","_createElementBlock","_Fragment","_renderList","f","i","rt","ref","error","loading","load","api","dep","varsQuery","problem","watch","usePolling","running","c","hasNode","domain","taskOf","name","p","busy","act","action","r","toast","urlFor","host","h","ErrorNote","SkeletonList","FindingsModal","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","InfoHint","_hoisted_7","_component_RouterLink","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_14","_hoisted_13","_hoisted_15","_hoisted_16","RouteTarget","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","RefreshButton","_hoisted_28","_hoisted_29","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","sentence","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","n","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","ActionButton","$event","_hoisted_51","_hoisted_52"],"mappings":"w+BAuBA,MAAMA,EAAQC,EAGRC,EAAQ,CAAE,MAAO,EAAG,KAAM,EAAG,KAAM,CAAA,EACnCC,EAASC,EAAS,IAAM,CAAC,GAAGJ,EAAM,QAAQ,EAAE,KAAK,CAACK,EAAGC,IAAMJ,EAAMG,EAAE,KAAK,EAAIH,EAAMI,EAAE,KAAK,CAAC,CAAC,EAE3FC,EAAQH,EAAS,WAAM,QAAAI,EAAAL,EAAO,MAAM,CAAC,IAAd,YAAAK,EAAiB,QAAS,OAAM,EAGvDC,EAAQ,CAAE,MAAO,WAAY,KAAM,iBAAkB,KAAM,OAAA,EAC3DC,EAAQ,CAAE,MAAO,SAAU,KAAM,OAAQ,KAAM,MAAA,EAE/CC,EAAS,CAAE,MAAO,SAAU,KAAM,OAAQ,KAAM,OAAA,eAIlCV,EAAA,SAAS,YAA3BW,EAqBaC,EAAAC,CAAA,EAAA,CAAA,IAAA,CAAA,EAAA,WApBX,IAGgB,CAHhBC,EAGgBF,EAAAG,CAAA,EAAA,CAHD,MA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EAAA,QAAI,WAAgBN,EAAE,IAAI,GACnC,WAAYM,EAAA,MACb,QAAQ,cACP,MAAGgE,GAAE/D,EAAIP,EAAC,SAAA,CAAA,aACZ,IAED,CAAA,GAAArB,EAAA,EAAA,IAAAA,EAAA,EAAA,EAAA,GAFC,YAED,EAAA,CAAA,sDACAV,EAKasD,EAAA,CAJX,MAAM,eACL,GAAE,gBAAkB,mBAAmBxD,EAAA2B,CAAA,EAAI,EAAE,CAAA,mBAAoB,mBAAmBM,EAAE,IAAI,CAAA,EAAA,aAC5F,IAED,CAAA,GAAArB,EAAA,EAAA,IAAAA,EAAA,EAAA,EAAA,GAFC,SAED,EAAA,CAAA,oBAEQqB,EAAE,QAAK,WAAA,CAAmBA,EAAE,QAAM,CAAKA,EAAE,SADjDlC,EAMayD,EAAA,OAJX,MAAM,eACL,GAAE,gBAAkB,mBAAmBxD,EAAA2B,CAAA,EAAI,EAAE,CAAA,uBAAwB,mBAAmBM,EAAE,IAAI,CAAA,EAAA,aAChG,IAED,CAAA,GAAArB,EAAA,EAAA,IAAAA,EAAA,EAAA,EAAA,GAFC,UAED,EAAA,CAAA,8BAMQqB,EAAE,QAAK,WAAkBW,EAAOX,CAAC,OADzCjB,EAQI,IAAA,OANF,MAAM,eACL,KAAM4B,EAAOX,CAAC,EACf,OAAO,SACP,IAAI,YAAA,EACL,SAED,EAAAuE,EAAA,wCAMVxF,EAGI,IAHJyF,GAAuB,2KAGvB,EAAA,UAxVJ1F,EAAA,EAAAC,EAMM,MANNN,GAMM,CAAA,GAAAE,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,CALJP,EAA6B,SAA1B,yBAAsB,EAAA,EACzBA,EAGI,SAHD,sIAGH,EAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.findings-btn[data-v-c92eabc7]{margin:var(--s3) 0}.findings-btn.error[data-v-c92eabc7]{background:var(--fail-soft);border-color:color-mix(in srgb,var(--fail) 45%,transparent);color:var(--fail)}.findings-btn.error[data-v-c92eabc7]:hover:not(:disabled){background:color-mix(in srgb,var(--fail) 26%,transparent);border-color:color-mix(in srgb,var(--fail) 62%,transparent)}.findings-btn.warn[data-v-c92eabc7]{background:var(--leak-soft);border-color:color-mix(in srgb,var(--leak) 45%,transparent);color:var(--leak)}.findings-btn.warn[data-v-c92eabc7]:hover:not(:disabled){background:color-mix(in srgb,var(--leak) 26%,transparent);border-color:color-mix(in srgb,var(--leak) 62%,transparent)}.help-body>.banner[data-v-c92eabc7]:first-child{margin-top:0}.help-body>.banner[data-v-c92eabc7]:last-child{margin-bottom:0}.task[data-v-
|
|
1
|
+
.findings-btn[data-v-c92eabc7]{margin:var(--s3) 0}.findings-btn.error[data-v-c92eabc7]{background:var(--fail-soft);border-color:color-mix(in srgb,var(--fail) 45%,transparent);color:var(--fail)}.findings-btn.error[data-v-c92eabc7]:hover:not(:disabled){background:color-mix(in srgb,var(--fail) 26%,transparent);border-color:color-mix(in srgb,var(--fail) 62%,transparent)}.findings-btn.warn[data-v-c92eabc7]{background:var(--leak-soft);border-color:color-mix(in srgb,var(--leak) 45%,transparent);color:var(--leak)}.findings-btn.warn[data-v-c92eabc7]:hover:not(:disabled){background:color-mix(in srgb,var(--leak) 26%,transparent);border-color:color-mix(in srgb,var(--leak) 62%,transparent)}.help-body>.banner[data-v-c92eabc7]:first-child{margin-top:0}.help-body>.banner[data-v-c92eabc7]:last-child{margin-bottom:0}.task[data-v-bd9b9ad5]{font-size:var(--t-sm)}
|