2025-01-17 02:28:51 +00:00
---
title: quartz-docker
draft: false
date: 2025-01-16
---
2025-01-17 03:07:26 +00:00
# 📄 quartz-docker
2025-01-17 15:45:13 +00:00
[quartz-docker image ](https://code.modernleft.org/gravityfargo/-/packages/container/quartz-docker/v4.4.0 )
2025-01-17 15:48:51 +00:00
2025-01-17 03:07:26 +00:00
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
2025-01-17 15:45:13 +00:00
- configurable with environment variables
- node and nginx included
2025-01-17 15:48:51 +00:00
- configurable cron for job to pull and build site
2025-01-17 03:07:26 +00:00
## 🛠️ Getting Started
2025-01-17 15:50:09 +00:00
### Docker Compose
2025-01-17 03:07:26 +00:00
2025-01-17 03:16:22 +00:00
See a list of all Environment Variables [[environment variables|here.]]
2025-01-17 15:55:13 +00:00
1. Create a data directory and pull your existing content
```bash
git clone https://code.modernleft.org/gravityfargo/modernleft-docs.git quartz
2025-01-17 03:07:26 +00:00
```
2025-01-17 15:55:13 +00:00
2. Create a `docker-compose.yml` file
![[docker-compose]]
2025-01-17 15:25:13 +00:00
### Cron
![[cron]]
2025-01-17 03:07:26 +00:00