From 789bc8d52aefd9e216597e9155342bb15bf75dba Mon Sep 17 00:00:00 2001 From: Nathan Price Date: Fri, 17 Jan 2025 22:09:47 -0500 Subject: [PATCH] vault backup: 2025-01-17 22:09:47 --- docker/quartz.md | 19 +++++++++++-------- docker/quartz/Developing with Quartz.md | 4 +++- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/docker/quartz.md b/docker/quartz.md index f9e2a9b..cd58d62 100644 --- a/docker/quartz.md +++ b/docker/quartz.md @@ -98,11 +98,14 @@ 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 | `git@git.modernleft.org:gravityfargo/empty.git` | +| 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` | + +> [!NOTE] +> `CONTENT_REPO` Must use https, not git. diff --git a/docker/quartz/Developing with Quartz.md b/docker/quartz/Developing with Quartz.md index df6fa14..c2c6296 100644 --- a/docker/quartz/Developing with Quartz.md +++ b/docker/quartz/Developing with Quartz.md @@ -14,7 +14,9 @@ git clone git@git.modernleft.org:gravityfargo/quartz-docker.git git clone git@github.com:jackyzha0/quartz.git cd quartz-docker make run -ln -s ~/Repositories/quartz/src ~/Repositories/quartz-docker/quartz/src +# ctrl-c +rm -rf ~/Repositories/quartz-docker/quartz/src/quartz/components +ln -sf ~/Repositories/quartz/quartz/components ~/Repositories/quartz-docker/quartz/src/quartz ``` Then, you can run the container with the following command: