vault backup: 2025-01-18 15:59:34

This commit is contained in:
Nathan Price 2025-01-18 15:59:34 -05:00
parent b7a0ea8e4b
commit 67d8d1b81a
Signed by: gravityfargo
SSH key fingerprint: SHA256:bjq+uA1U+9bFMd70q2wdNtwaYxGv84IBXalnYvZDKmg

View file

@ -10,7 +10,6 @@ date: 2025-01-16
| Official quartz project | [GitHub - jackyzha0/quartz](https://github.com/jackyzha0/quartz) |
| Image Source | [Forgejo - gravityfargo/quartz-docker](https://code.modernleft.org/gravityfargo/quartz-docker) |
| Issue Tracker | |
| | |
```bash
docker pull code.modernleft.org/gravityfargo/quartz-docker:v4.4.0
@ -18,11 +17,11 @@ docker pull code.modernleft.org/gravityfargo/quartz-docker:v4.4.0
---
This project runs **Quartz** v4.4.0, a fast, batteries-included static site generator, inside a **Docker container**. It transforms Markdown content into a fully functional website.
This project runs Quartz v4.4.0, 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.
There is no support for SSL or any other features that are not directly related to building the site. I run everything behind traeffik, so I don't need it.
There is no support for SSL or any other features that are not directly related to building the site. I run everything behind traefik, so I don't need it.
## 🐳 Docker Compose Setup
@ -69,6 +68,7 @@ If you don't use the cron job, and don't feel like restarting the container, you
```bash
docker exec -it quartz-wiki bash
#
cd /quartz/content/ && git restore . && git pull
cd /quartz/src/ && npx quartz build
```
@ -101,13 +101,13 @@ environment:
### Environment Variables
| Variable | Description | Default Value |
| -------------------- | -------------------------------------------- | ---------------------------------------------------- |
| `USER_ID`/`GROUP_ID` | UID/GID that` /quartz` will be chown'd to. | `1000`:`1000` |
| `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 |
| `CONTENT_REPO` | URL of the content repository | `https://code.modernleft.org/gravityfargo/empty.git` |
| Variable | Description | Default Value |
| -------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
| `USER_ID`/`GROUP_ID` | UID/GID that` /quartz` will be chown'd to on startup | `1000`:`1000` |
| `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 |
| `CONTENT_REPO` | URL of the content repository | `https://code.modernleft.org/gravityfargo/empty.git` |
> [!NOTE] > `CONTENT_REPO` Must use https, not git.