diff --git a/compose.yaml b/compose.yaml index 4708f81903eeb04d71a791c11ece705568bb24e8..a7db4259b0ea3f50af1596c26c91598822124cfa 100755 --- a/compose.yaml +++ b/compose.yaml @@ -145,10 +145,16 @@ services: - "CLOVER_FILE_RAW=/published" - "CLOVER_FILE_DERIVED=/data/derived" - "CLOVER_SOT_KEY=${CLOVER_SOT_KEY}" + - "CLOVER_INDEX_CORES=12" + deploy: + resources: + limits: + cpus: "16.0" restart: unless-stopped volumes: - "$CLOVER_ROOT/Documents/Config/paperclover:/data:rw" - - "$CLOVER_ROOT/Published:/published:ro" + # rw: the indexer scrubs exif location data in place + - "$CLOVER_ROOT/Published:/published:rw" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:80"] interval: 10s