vault backup: 2025-01-17 20:28:34
This commit is contained in:
parent
5c2597498d
commit
4306d2447e
2 changed files with 22 additions and 23 deletions
|
@ -23,10 +23,23 @@ mkdir -p /srv/quartz
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Create a `docker-compose.yml` file:
|
```yaml title="docker-compose.yml"
|
||||||
|
services:
|
||||||
![[docker-compose]]
|
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
|
||||||
|
```
|
||||||
**First Run**
|
**First Run**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -35,7 +48,9 @@ docker stop quartz-wiki
|
||||||
```
|
```
|
||||||
|
|
||||||
On first run, the container will download the necessary dependencies, build the site, and download the content repository.
|
On first run, the container will download the necessary dependencies, build the site, and download the content repository.
|
||||||
You will also need to
|
|
||||||
|
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)
|
||||||
|
`
|
||||||
|
|
||||||
## ⚙️ Configuration
|
## ⚙️ Configuration
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1 @@
|
||||||
```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
|
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in a new issue