DrydockDrydock
ConfigurationStorage

Storage

Persist drydock state by mounting /store as a volume.

If you want the state to persist after the container removal, you need to mount /store as a volume.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_STORE_PATHDirectory where the database file is storeddirectory path/store
DD_STORE_FILEDatabase filenamefilenamedd.json
DD_UPDATE_OPERATION_MAX_ENTRIESMax update/rollback operation records to retain (oldest pruned when exceeded)integer (>0)500
DD_UPDATE_OPERATION_RETENTION_DAYSDays to retain update operation records before pruninginteger (>0)30

Examples

services:
  drydock:
    image: codeswhat/drydock
    ...
    volumes:
      - /path-on-my-host:/store
docker run \
  -v /path-on-my-host:/store
  ...
  codeswhat/drydock

On this page