The image listens on port 8080.
Quick start¶
docker build -t lode .
docker run -p 8080:8080 lodeOpen http://localhost:8080.
From Docker Hub¶
docker run -p 8080:8080 opencitations/lode:latestReplace 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:latestProduction (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:latestEnvironment variables¶
| Variable | Default | Description |
|---|---|---|
LODE_SPOOL_DIR | /tmp/lode-spool | Cache directory |
LODE_BUILD_DIR | /tmp/lode-builds | Build workspace |
LODE_DEBUG | false | Enable debug tracebacks |