diff --git a/Applications/quartz-docker.md b/Applications/quartz-docker.md index 1a39f88..ae732d1 100644 --- a/Applications/quartz-docker.md +++ b/Applications/quartz-docker.md @@ -1,10 +1,14 @@ --- -title: quartz-docker +title: ModernLeft - quartz-docker draft: false 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 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. +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 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. -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! 🎉 @@ -85,12 +91,11 @@ environment: ### Environment Variables -| Variable | Description | Default Value | -| ---------------- | ----------------------------------------------------- | ----------------------------- | -| `USER_ID` | UID that` /content` and` /config` will be chown'd to. | `1000` | -| `GROUP_ID` | GID that` /content` and` /config` will be chown'd to. | `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 | | +| 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 | | diff --git a/Applications/quartz-docker/cron.md b/Applications/quartz-docker/cron.md deleted file mode 100644 index cb4e190..0000000 --- a/Applications/quartz-docker/cron.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: quartz-docker - cron -draft: false -date: 2025-01-16 -tags: - - test ---- diff --git a/Applications/quartz-docker/docker-compose.md b/Applications/quartz-docker/docker-compose.md deleted file mode 100644 index 8b13789..0000000 --- a/Applications/quartz-docker/docker-compose.md +++ /dev/null @@ -1 +0,0 @@ -