diff --git a/Applications/quartz-docker.md b/Applications/quartz-docker.md index e052ce6..ffbf38b 100644 --- a/Applications/quartz-docker.md +++ b/Applications/quartz-docker.md @@ -23,10 +23,23 @@ mkdir -p /srv/quartz ``` -Create a `docker-compose.yml` file: - -![[docker-compose]] - +```yaml title="docker-compose.yml" +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 +``` **First Run** ```bash @@ -34,8 +47,10 @@ docker-compose up -d docker stop quartz-wiki ``` -On first run, the container will download the necessary dependencies, build the site, and download the content repository. -You will also need to +On first run, the container will download the necessary dependencies, build the site, and download the content repository. + +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 diff --git a/Applications/quartz-docker/docker-compose.md b/Applications/quartz-docker/docker-compose.md index a415823..8b13789 100644 --- a/Applications/quartz-docker/docker-compose.md +++ b/Applications/quartz-docker/docker-compose.md @@ -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 -``` +