vault backup: 2025-01-17 20:06:52
This commit is contained in:
parent
a5feb671ff
commit
57c0b13473
2 changed files with 1 additions and 9 deletions
|
@ -14,8 +14,6 @@ This project runs **Quartz 4**, a fast, batteries-included static site generator
|
|||
|
||||
While Quartz provides [Docker support](https://quartz.jzhao.xyz/features/Docker-Support), it is not as self contained as this project.
|
||||
|
||||
This container uses my fork of Quartz, as my [PR](https://github.com/jackyzha0/quartz/pull/1725) for JSON-based configuration was not accepted due to design considerations.
|
||||
|
||||
I explored several alternative approaches for configuration within this container, but none met my criteria for simplicity—specifically, avoiding the need to mount the entire site source and instead only requiring a dedicated `content` and `config` directory.
|
||||
|
||||
## 🚀 Features
|
||||
|
|
|
@ -11,11 +11,5 @@ services:
|
|||
ENABLE_CRON: "true"
|
||||
BUILD_SCHEDULE: "*/10 * * * *"
|
||||
volumes:
|
||||
- quartz-deps:/usr/share/nginx/html/node_modules
|
||||
- /srv/quartz/content:/content
|
||||
- /srv/quartz/config:/config
|
||||
|
||||
volumes:
|
||||
quartz-deps:
|
||||
driver: local
|
||||
- /srv/quartz/content:/quartz
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue