vault backup: 2025-01-17 22:09:47

This commit is contained in:
Nathan Price 2025-01-17 22:09:47 -05:00
parent 7da285fc20
commit 789bc8d52a
Signed by: gravityfargo
SSH key fingerprint: SHA256:bjq+uA1U+9bFMd70q2wdNtwaYxGv84IBXalnYvZDKmg
2 changed files with 14 additions and 9 deletions

View file

@ -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.

View file

@ -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: