Compare commits

...

2 commits

Author SHA1 Message Date
17cfa5061b
vault backup: 2025-01-17 17:30:42 2025-01-17 17:30:42 -05:00
63df7da6a2
vault backup: 2025-01-17 17:25:46 2025-01-17 17:25:46 -05:00
2 changed files with 11 additions and 12 deletions

View file

@ -12,7 +12,7 @@ docker pull code.modernleft.org/gravityfargo/quartz-docker:v4.4.0
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.
While Quartz provides [Docker support](https://quartz.jzhao.xyz/features/Docker-Support), it is not as self contained as this project.
While Quartz provides [Docker support](https://quartz.jzhao.xyz/features/Docker-Support), it is not as self contained as this project.
This container uses my fork of Quartz, as my [PR](https://github.com/jackyzha0/quartz/pull/1725) for JSON-based configuration was not accepted due to design considerations.
@ -85,12 +85,14 @@ environment:
See a list of all environment variables [here](#environment-variables).
| Variable | Description | Default Value |
| -------------------- | -------------------------------------------- | ----------------------------- |
| `NGINX_PORT` | Port for the Nginx server | `80` |
| `SERVER_NAME` | NGINX server name | `quartz.zhao.xyz` |
| `ENABLE_CRON` | Enables scheduled builds (`true` or `false`) | `false` |
| `BUILD_SCHEDULE` | Cron expression for scheduling site builds | `"*/10 * * * *"` every 10 min |
| `QUARTZ_CONFIG_PATH` | Path to the Quartz configuration file | `/config/quartz.json` |
| Variable | Description | Default Value |
| -------------------- | ----------------------------------------------------- | ----------------------------- |
| `NGINX_PORT` | Port for the Nginx server | `80` |
| `SERVER_NAME` | NGINX server name | `quartz.zhao.xyz` |
| `ENABLE_CRON` | Enables scheduled builds (`true` or `false`) | `false` |
| `BUILD_SCHEDULE` | Cron expression for scheduling site builds | `"*/10 * * * *"` every 10 min |
| `QUARTZ_CONFIG_PATH` | Path to the Quartz configuration file | `/config/quartz.json` |
| `USER_ID` | UID that` /content` and` /config` will be chown'd to. | `1000` |
| `GROUP_ID` | GID that` /content` and` /config` will be chown'd to. | `1000` |
You shouldn't need to change `QUARTZ_CONFIG_PATH`

View file

@ -1,11 +1,8 @@
---
title: Home
title: ModernLeft - Home
draft: false
date: 2025-01-16
---
# Introduction
Welcome to the ModernLeft Documentation!
This is a consolidated wiki for most of my projects.