1 KiB
1 KiB
title | draft | date |
---|---|---|
quartz-docker | false | 2025-01-16 |
📄 quartz-docker
This project runs Quartz 4, a fast, batteries-included static site generator, inside a Docker container. It transforms Markdown content into a fully functional website.
🚀 Features
- configurable with environment variables
- node and nginx included
- configurable cron for job to pull and build site
🛠️ Getting Started
Docker Compose
See a list of all Environment Variables environment variables
-
Create a data directory and pull your existing content
git clone https://code.modernleft.org/gravityfargo/modernleft-docs.git quartz
-
Create a
docker-compose.yml
file !docker-compose The only required variable isBASE_URL
. The rest are set to the developer's defaultsBASE_URL
sets both quartz's "baseUrl" as well as nginx'sserver_name
.
Cron
!cron