Compare commits
No commits in common. "724881840cb2ee641e3e99539e771e1f87f5049a" and "cc5997ddd4590d813d77d0d7d2ec9e12395daa1d" have entirely different histories.
724881840c
...
cc5997ddd4
2 changed files with 10 additions and 30 deletions
|
@ -16,22 +16,20 @@ This project runs **Quartz 4**, a fast, batteries-included static site generator
|
||||||
- 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
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker run
|
||||||
|
```
|
||||||
See a list of all Environment Variables [[environment variables|here.]]
|
See a list of all Environment Variables [[environment variables|here.]]
|
||||||
|
```yaml
|
||||||
1. Create a data directory and pull your existing content
|
docker compose file
|
||||||
|
|
||||||
```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
|
||||||
|
|
||||||
![[cron]]
|
![[cron]]
|
||||||
|
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
**Minimal**
|
|
||||||
```yaml
|
|
||||||
services:
|
|
||||||
quartz-docker:
|
|
||||||
container_name: quartz-docker
|
|
||||||
image: code.modernleft.org/gravityfargo/quartz-docker:v4.4.0
|
|
||||||
ports:
|
|
||||||
- 80:80
|
|
||||||
environment:
|
|
||||||
BASE_URL: "localhost"
|
|
||||||
volumes:
|
|
||||||
- ./quartz:/content
|
|
||||||
- quartz-deps:/usr/share/nginx/html/node_modules
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
quartz-deps:
|
|
||||||
driver: local
|
|
||||||
```
|
|
Loading…
Reference in a new issue