QuillDocs

Docker

Run Quill in a container with its content on a volume.

The project includes a Dockerfile. The image builds the site and keeps your content on a volume at /data, so it survives restarts and upgrades.

  1. Build the image

    docker build -t quill-docs .

    To serve the docs under a sub-path such as /docs, add --build-arg QUILL_BASE_PATH=/docs. See Node server for the proxy settings.

  2. Run it with a volume

    docker run -p 3000:3000 -v quill-data:/data \
      -e QUILL_ADMIN_PASSWORD=... \
      -e QUILL_SESSION_SECRET=... \
      -e QUILL_API_KEYS=... \
      quill-docs
  3. Check the first start

    On the first start the sample content is copied into the volume. After that, the volume is the source of truth and the image never overwrites it.