From 3c177672f69b428ed631cf46ab89981963d79eb4 Mon Sep 17 00:00:00 2001 From: mikee805 Date: Sun, 25 Jun 2023 16:05:03 -0700 Subject: [PATCH] Update getting-started-docker-compose.md fix volumes configuration --- .../version-3.0.x/getting-started-docker-compose.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/versioned_docs/version-3.0.x/getting-started-docker-compose.md b/versioned_docs/version-3.0.x/getting-started-docker-compose.md index ca3ebb82d6e4..ab2984a2d4a6 100644 --- a/versioned_docs/version-3.0.x/getting-started-docker-compose.md +++ b/versioned_docs/version-3.0.x/getting-started-docker-compose.md @@ -22,7 +22,8 @@ services: networks: - pulsar volumes: - - ./data/zookeeper:/pulsar/data/zookeeper + - ./data/zookeeper:/var/lib/zookeeper/data + - ./log/zookeeper:/var/lib/zookeeper/log environment: - metadataStoreUrl=zk:zookeeper:2181 - PULSAR_MEM=-Xms256m -Xmx256m -XX:MaxDirectMemorySize=256m @@ -76,7 +77,7 @@ services: condition: service_completed_successfully # Map the local directory to the container to avoid bookie startup failure due to insufficient container disks. volumes: - - ./data/bookkeeper:/pulsar/data/bookkeeper + - ./data/bookkeeper:/var/lib/bookkeeper/data command: bash -c "bin/apply-config-from-env.py conf/bookkeeper.conf && exec bin/pulsar bookie" # Start broker