Retire quartz, hasura and autoheal into .deprecated/
Deploy with Docker Compose / deploy (push) Successful in 1m1s

Quartz was already replaced by silverbullet-public; its build context moves
to .deprecated/quartz. Hasura and autoheal are removed from the stack, with
their compose services (and Hasura's nginx blocks) kept verbatim under
.deprecated/ alongside a README on how to bring each back.

Removes the /hasura/ route from both nginx templates and the envsubst
allow-list, and updates the docs and comments that referred to the three
services. With autoheal gone nothing restarts an unhealthy container; the
healthchecks are now informational only, and the docs say so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-01 14:58:17 +01:00
co-authored by Claude Opus 5.5
parent e25fbbab96
commit 8d7606bbe8
18 changed files with 140 additions and 143 deletions
@@ -0,0 +1,99 @@
// =============================================================================
// quartz.config.ts.template — Quartz site config, rendered to quartz.config.ts
// by quartz/entrypoint.sh at container start.
//
// ONLY the DOMAIN placeholder is substituted (envsubst is given a one-name allow-list), so
// every other dollar sign and backtick-template-looking construct in this
// TypeScript file survives untouched. That restriction is deliberate: a bare
// envsubst over a .ts file would corrupt it.
//
// baseUrl must keep pointing at www.<DOMAIN>/notes — it has to match the path nginx
// proxies (/notes/) or every internal link, the sitemap and the RSS feed point
// at the wrong place.
//
// enableSPA / enablePopovers are off because this site is embedded under a
// path inside another SPA; Quartz's own client-side router would fight with it.
//
// ignorePatterns keeps "private", "templates" and ".obsidian" out of the build
// — the vault is mounted whole, so this list is the only thing stopping
// private notes being published. Check it before adding vault folders.
//
// This file is committed with real content (no secrets). quartz.layout.ts sits
// alongside it and is COPY'd in by quartz/Dockerfile without templating.
// =============================================================================
import { QuartzConfig } from "./quartz/cfg"
import * as Plugin from "./quartz/plugins"
const config: QuartzConfig = {
configuration: {
pageTitle: "Notes",
pageTitleSuffix: "",
enableSPA: false,
enablePopovers: false,
analytics: null,
locale: "en-GB",
baseUrl: "www.${DOMAIN}/notes",
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "modified",
theme: {
fontOrigin: "googleFonts",
cdnCaching: true,
typography: {
header: "Schibsted Grotesk",
body: "Source Sans Pro",
code: "IBM Plex Mono",
},
colors: {
lightMode: {
light: "#faf8f8",
lightgray: "#e5e5e5",
gray: "#b8b8b8",
darkgray: "#4e4e4e",
dark: "#2b2b2b",
secondary: "#284b63",
tertiary: "#84a98c",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#fff23688",
},
darkMode: {
light: "#161618",
lightgray: "#393639",
gray: "#646464",
darkgray: "#d4d4d4",
dark: "#ebebec",
secondary: "#7b97aa",
tertiary: "#84a98c",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#b3aa0288",
},
},
},
},
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({ priority: ["frontmatter", "filesystem"] }),
Plugin.SyntaxHighlighting(),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Description(),
Plugin.Latex({ renderEngine: "katex" }),
],
filters: [Plugin.RemoveDrafts()],
emitters: [
Plugin.AliasRedirects(),
Plugin.ComponentResources(),
Plugin.ContentPage(),
Plugin.FolderPage(),
Plugin.TagPage(),
Plugin.ContentIndex({ enableSiteMap: true, enableRSS: true }),
Plugin.Assets(),
Plugin.Static(),
Plugin.NotFoundPage(),
],
},
}
export default config