Running Teatime with Docker
Teatime is built to be published as a containerized image, so it'll run anywhere Docker does. To get started, create a docker-compose.yml:
docker-compose.yml
yamlservices:
teatime:
image: ghcr.io/melosso/teatime:latest
container_name: teatime
ports:
- "8080:8080"
volumes:
- ./content:/app/contentMount your content/ folder so your posts stay editable from the host, then bring it up:
bash
docker compose up -dYour blog is then available at http://localhost:8080.
TIP
Because content/ is a volume, dropping in a new Markdown post is enough for it to appear. There is no process to restart since the server will pick these changes up automagically.
Behind a reverse proxy, set Docs:BasePath (or --base-path for a static export) so every internal link resolves under your chosen path. For the one time setup, the installation guide covers the rest, and environment variables lists what you can set from your compose file.