Compare commits

...

2 commits

Author SHA1 Message Date
67d8d1b81a
vault backup: 2025-01-18 15:59:34 2025-01-18 15:59:34 -05:00
b7a0ea8e4b
vault backup: 2025-01-18 15:57:22 2025-01-18 15:57:22 -05:00

View file

@ -5,11 +5,11 @@ date: 2025-01-16
--- ---
| | | | | |
| ----------------------- | --------------------------------------------------------------------------------------------------------- | | ----------------------- | ---------------------------------------------------------------------------------------------- |
| Image on Forgejo | [quartz-docker image](https://code.modernleft.org/gravityfargo/-/packages/container/quartz-docker/v4.4.0) | | Image on Forgejo | [Forgejo](https://code.modernleft.org/gravityfargo/-/packages/container/quartz-docker/v4.4.0) |
| Official quartz project | [quartz docs](https://quartz.jzhao.xyz/) | | Official quartz project | [GitHub - jackyzha0/quartz](https://github.com/jackyzha0/quartz) |
| Image Source | [gravityfargo/quartz-dockerl](https://code.modernleft.org/gravityfargo/quartz-docker) | | Image Source | [Forgejo - gravityfargo/quartz-docker](https://code.modernleft.org/gravityfargo/quartz-docker) |
| Issue Tracker | [GitHub - gravityfargo/bluesky-pds-docker](https://github.com/gravityfargo/bluesky-pds-docker) | | Issue Tracker | |
```bash ```bash
docker pull code.modernleft.org/gravityfargo/quartz-docker:v4.4.0 docker pull code.modernleft.org/gravityfargo/quartz-docker:v4.4.0
@ -17,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. 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 ## 🐳 Docker Compose Setup
@ -68,6 +68,7 @@ If you don't use the cron job, and don't feel like restarting the container, you
```bash ```bash
docker exec -it quartz-wiki bash docker exec -it quartz-wiki bash
#
cd /quartz/content/ && git restore . && git pull cd /quartz/content/ && git restore . && git pull
cd /quartz/src/ && npx quartz build cd /quartz/src/ && npx quartz build
``` ```
@ -101,8 +102,8 @@ environment:
### Environment Variables ### Environment Variables
| Variable | Description | Default Value | | Variable | Description | Default Value |
| -------------------- | -------------------------------------------- | ---------------------------------------------------- | | -------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
| `USER_ID`/`GROUP_ID` | UID/GID that` /quartz` will be chown'd to. | `1000`:`1000` | | `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` | | `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` |