The first post, sent from Obsidian
This sample post ships with the container. Delete it once the Obsidian plugin has published a real one.
If you can read this, the container is up: Caddy is serving, Hugo has finished its first build, and the ingest API is waiting under /api/ for the Obsidian plugin.
What this post demonstrates
The usual Obsidian syntax renders as expected. Callouts, for instance:
A foldable callout
A - after the type folds it by default; + keeps it open.
Code blocks come with syntax highlighting in both light and dark mode:
services:
blog:
image: obsidian-blog:latest
environment:
PUBLISH_TOKEN: ${PUBLISH_TOKEN}
volumes:
- ./data/content:/site/content
Plain quotes, tables and task lists work too:
Reachable and fast are two different things. A tunnel is enough for the first; the second needs a machine near the reader.
| Stage | Process | Job |
|---|---|---|
| Ingest | server.js | Check the token, write Markdown and attachments |
| Build | hugo | Generate the site, swap public/ atomically |
| Serve | caddy | Compression, cache headers, 404 page |
- Container started
- First build
- Publish a real post from Obsidian
Next
- Enter the site URL and
PUBLISH_TOKENin the Obsidian plugin settings. - Add
publish: trueto any note and run "Publish current note". - Refresh this page about five seconds later.