vault backup: 2025-01-17 11:10:09

This commit is contained in:
Nathan Price 2025-01-17 11:10:09 -05:00
parent 1bfb94aaf8
commit ecf52670f0
Signed by: gravityfargo
SSH key fingerprint: SHA256:bjq+uA1U+9bFMd70q2wdNtwaYxGv84IBXalnYvZDKmg
3 changed files with 8 additions and 15 deletions

View file

@ -31,6 +31,8 @@ See a list of all Environment Variables [[environment variables|here.]]
2. Create a `docker-compose.yml` file
![[minimal 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`.
![[recommended docker-compose]]
To keep the image small, `node_modules` are downloaded when the container is run. You should keep them in a volume so that the modules persist between container runs.
### Cron

View file

@ -9,9 +9,4 @@ services:
BASE_URL: "docs.modernleft.org"
volumes:
- ./quartz:/content
- quartz-deps:/usr/share/nginx/html/node_modules
volumes:
quartz-deps:
driver: local
```

View file

@ -4,18 +4,14 @@ services:
container_name: quartz-docker
image: code.modernleft.org/gravityfargo/quartz-docker:v4.4.0
ports:
- 80:8080
- 8080:80
environment:
NGINX_PORT: 8080
ENABLE_CRON: "false"
BUILD_SCHEDULE: "*/10 * * * *"
PAGE_TITLE: "Quartz Docker"
ENABLE_SPA: "true"
ENABLE_POPOVERS: "true"
ANALYTICS_PROVIDER: "plausible"
BASE_URL: "localhost"
ENABLE_CRON: "true"
BUILD_SCHEDULE: "*/30 * * * *"
PAGE_TITLE: "ModernLeft Wiki"
BASE_URL: "docs.modernleft.org"
volumes:
- /home/nathan/Repositories/modernleft-docs:/content
- ./quartz:/content
- quartz-deps:/usr/share/nginx/html/node_modules
volumes: