vault backup: 2025-01-17 10:59:26
This commit is contained in:
parent
3be26d5ea0
commit
724881840c
2 changed files with 15 additions and 12 deletions
|
@ -13,22 +13,25 @@ This project runs **Quartz 4**, a fast, batteries-included static site generator
|
||||||
## 🚀 Features
|
## 🚀 Features
|
||||||
|
|
||||||
- configurable with environment variables
|
- configurable with environment variables
|
||||||
- node and nginx included
|
- node and nginx included
|
||||||
- configurable cron for job to pull and build site
|
- configurable cron for job to pull and build site
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 🛠️ Getting Started
|
## 🛠️ Getting Started
|
||||||
|
|
||||||
### Docker Compose
|
### Docker Compose
|
||||||
|
|
||||||
See a list of all Environment Variables [[environment variables|here.]]
|
See a list of all Environment Variables [[environment variables|here.]]
|
||||||
1. Create a data directory and pull your existing content
|
|
||||||
```bash
|
|
||||||
git clone https://code.modernleft.org/gravityfargo/modernleft-docs.git quartz
|
|
||||||
```
|
|
||||||
2. Create a `docker-compose.yml` file
|
|
||||||
![[docker-compose]]
|
|
||||||
### Cron
|
|
||||||
![[cron]]
|
|
||||||
|
|
||||||
|
1. Create a data directory and pull your existing content
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://code.modernleft.org/gravityfargo/modernleft-docs.git quartz
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Create a `docker-compose.yml` file
|
||||||
|
![[docker-compose]]
|
||||||
|
The only required variable is `BASE_URL`. The rest are set to the developer's [defaults](https://quartz.jzhao.xyz/configuration) `BASE_URL` sets both quartz's "baseUrl" as well as nginx's `server_name`.
|
||||||
|
|
||||||
|
### Cron
|
||||||
|
|
||||||
|
![[cron]]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#
|
**Minimal**
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
quartz-docker:
|
quartz-docker:
|
||||||
|
|
Loading…
Reference in a new issue