vault backup: 2025-01-17 10:55:13
This commit is contained in:
parent
cc5997ddd4
commit
3be26d5ea0
2 changed files with 23 additions and 6 deletions
|
@ -22,14 +22,13 @@ This project runs **Quartz 4**, a fast, batteries-included static site generator
|
|||
|
||||
### Docker Compose
|
||||
|
||||
```sh
|
||||
docker run
|
||||
```
|
||||
See a list of all Environment Variables [[environment variables|here.]]
|
||||
```yaml
|
||||
docker compose file
|
||||
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]]
|
||||
|
||||
|
|
18
Applications/quartz-docker/docker-compose.md
Normal file
18
Applications/quartz-docker/docker-compose.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
```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