Compare commits

..

No commits in common. "50243b51fa144844c071a16426a3540364f82e3a" and "5c2597498dd272fc0ba78234687141d15749dcb3" have entirely different histories.

3 changed files with 24 additions and 26 deletions

View file

@ -4,7 +4,5 @@
"obsidian-linter",
"editing-toolbar",
"obsidian-auto-link-title",
"github-copilot",
"editor-width-slider",
"emoji-shortcodes"
"github-copilot"
]

View file

@ -10,7 +10,7 @@ date: 2025-01-16
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 4.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.
@ -22,23 +22,10 @@ Create a data directory
mkdir -p /srv/quartz
```
```yaml title="docker-compose.yml"
services:
quartz-docker:
container_name: quartz-docker
image: code.modernleft.org/gravityfargo/quartz-docker:dev
ports:
- 80:80
environment:
USER_ID: 1000
GROUP_ID: 1001
SERVER_NAME: "docs.modernleft.org"
ENABLE_CRON: "true"
BUILD_SCHEDULE: "*/30 * * * *"
CONTENT_REPO: "https://code.modernleft.org/gravityfargo/modernleft-docs.git"
volumes:
- /srv/quartz:/quartz
```
Create a `docker-compose.yml` file:
![[docker-compose]]
**First Run**
@ -48,10 +35,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
🥳 Done! 🎉
You will also need to
## ⚙️ Configuration

View file

@ -1 +1,17 @@
```yaml
services:
quartz-docker:
container_name: quartz-docker
image: code.modernleft.org/gravityfargo/quartz-docker:dev
ports:
- 80:80
environment:
USER_ID: 1000
GROUP_ID: 1001
SERVER_NAME: "docs.modernleft.org"
ENABLE_CRON: "true"
BUILD_SCHEDULE: "*/30 * * * *"
CONTENT_REPO: "https://code.modernleft.org/gravityfargo/modernleft-docs.git"
volumes:
- /srv/quartz:/quartz
```