Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Docker

The image listens on port 8080.

Quick start

docker build -t lode .
docker run -p 8080:8080 lode

Open http://localhost:8080.

From Docker Hub

docker run -p 8080:8080 opencitations/lode:latest

Replace latest with the desired version tag.

With persistent storage

docker run -p 8080:8080 \
  -v lode-data:/data \
  -e LODE_SPOOL_DIR=/data/spool \
  -e LODE_BUILD_DIR=/data/builds \
  opencitations/lode:latest

Production (read-only filesystem)

docker run -p 8080:8080 \
  --read-only \
  --tmpfs /tmp \
  -v lode-data:/data \
  -e LODE_SPOOL_DIR=/data/spool \
  -e LODE_BUILD_DIR=/data/builds \
  opencitations/lode:latest

Environment variables

VariableDefaultDescription
LODE_SPOOL_DIR/tmp/lode-spoolCache directory
LODE_BUILD_DIR/tmp/lode-buildsBuild workspace
LODE_DEBUGfalseEnable debug tracebacks