diff --git a/Applications/quartz-docker.md b/Applications/quartz-docker.md index 8b0e8fd..eed132a 100644 --- a/Applications/quartz-docker.md +++ b/Applications/quartz-docker.md @@ -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]] diff --git a/Applications/quartz-docker/docker-compose.md b/Applications/quartz-docker/docker-compose.md new file mode 100644 index 0000000..110c963 --- /dev/null +++ b/Applications/quartz-docker/docker-compose.md @@ -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 +``` \ No newline at end of file