vault backup: 2025-01-17 17:30:42
This commit is contained in:
parent
63df7da6a2
commit
17cfa5061b
2 changed files with 11 additions and 16 deletions
|
@ -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,16 +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` |
|
||||
| `USER_ID` | | |
|
||||
| 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`
|
||||
USER_ID: 0
|
||||
|
||||
GROUP_ID: 0
|
5
index.md
5
index.md
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue