Add Quartz service for serving Obsidian notes at /notes/
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m28s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m28s
Replaces the custom Go/Vue notes system with Quartz v4, a polished static site generator for Obsidian vaults. Mounts OBSIDIAN_DIR as the Quartz content directory and serves it at /notes/ with hot-reload via `npx quartz build --serve`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
18
quartz/Dockerfile
Normal file
18
quartz/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM node:22-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --yes git gettext-base \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /quartz
|
||||
|
||||
ARG QUARTZ_VERSION=v4.4.0
|
||||
RUN git clone --depth 1 --branch ${QUARTZ_VERSION} \
|
||||
https://github.com/jackyzha0/quartz.git . \
|
||||
&& npm ci
|
||||
|
||||
COPY quartz.config.ts.template /quartz/quartz.config.ts.template
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user