vault backup: 2025-01-17 20:38:34

This commit is contained in:
Nathan Price 2025-01-17 20:38:34 -05:00
parent 50243b51fa
commit 4a1c1a0359
Signed by: gravityfargo
SSH key fingerprint: SHA256:bjq+uA1U+9bFMd70q2wdNtwaYxGv84IBXalnYvZDKmg
3 changed files with 17 additions and 20 deletions

View file

@ -1,10 +1,14 @@
--- ---
title: quartz-docker title: ModernLeft - quartz-docker
draft: false draft: false
date: 2025-01-16 date: 2025-01-16
--- ---
[quartz-docker image](https://code.modernleft.org/gravityfargo/-/packages/container/quartz-docker/v4.4.0) | | |
| ------------ | --------------------------------------------------------------------------------------------------------- |
| image | [quartz-docker image](https://code.modernleft.org/gravityfargo/-/packages/container/quartz-docker/v4.4.0) |
| base project | [quartz](https://quartz.jzhao.xyz/) |
| image source | [gravityfargo/quartz-dockerl](https://code.modernleft.org/gravityfargo/quartz-docker) |
```bash ```bash
docker pull code.modernleft.org/gravityfargo/quartz-docker:v4.4.0 docker pull code.modernleft.org/gravityfargo/quartz-docker:v4.4.0
@ -14,6 +18,8 @@ This project runs **Quartz** v4.4.0, a fast, batteries-included static site gene
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.
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.
## 🐳 Docker Compose Setup ## 🐳 Docker Compose Setup
Create a data directory Create a data directory
@ -49,7 +55,7 @@ docker stop quartz-wiki
On first run, the container will download the necessary dependencies, build the site, and download the content repository. On first run, the container will download the necessary dependencies, build the site, and download the content repository.
After that, you can configure whatever you would like in `/srv/quartz/src` using the stock options found in the quartz [documentation](https://quartz.jzhao.xyz/configuration) Bare minimum should be `baseUrl` and After that, you can configure whatever you would like in `/srv/quartz/src` using the stock options found in the quartz [documentation](https://quartz.jzhao.xyz/configuration) Bare minimum should be `baseUrl` and `pageTitle`.
🥳 Done! 🎉 🥳 Done! 🎉
@ -86,9 +92,8 @@ environment:
### Environment Variables ### Environment Variables
| Variable | Description | Default Value | | Variable | Description | Default Value |
| ---------------- | ----------------------------------------------------- | ----------------------------- | | -------------------- | -------------------------------------------- | ----------------------------- |
| `USER_ID` | UID that` /content` and` /config` will be chown'd to. | `1000` | | `USER_ID`/`GROUP_ID` | UID/GID that` /quartz` will be chown'd to. | `1000`:`1000` |
| `GROUP_ID` | GID that` /content` and` /config` will be chown'd to. | `1000` |
| `NGINX_PORT` | Port for the Nginx server | `80` | | `NGINX_PORT` | Port for the Nginx server | `80` |
| `SERVER_NAME` | NGINX server name | `quartz.zhao.xyz` | | `SERVER_NAME` | NGINX server name | `quartz.zhao.xyz` |
| `ENABLE_CRON` | Enables scheduled builds (`true` or `false`) | `false` | | `ENABLE_CRON` | Enables scheduled builds (`true` or `false`) | `false` |

View file

@ -1,7 +0,0 @@
---
title: quartz-docker - cron
draft: false
date: 2025-01-16
tags:
- test
---