Skip to content

Commit 5961f05

Browse files
fix: create store directory and add minio dependency for tutorials
The 06-object-storage tutorial fails because datajoint.json configures a local store at /tmp/datajoint-tutorials which doesn't exist in the Docker container. Create it before executing notebooks. Also add minio as a dependency so it's ready if needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 81b4d2b commit 5961f05

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ services:
7373
condition: service_healthy
7474
postgres:
7575
condition: service_healthy
76+
minio:
77+
condition: service_healthy
7678
command:
7779
- sh
7880
- -c
@@ -94,13 +96,15 @@ services:
9496
# EXECUTE_PG mode: execute notebooks against PostgreSQL
9597
pip install -e "/datajoint-python[postgres]"
9698
pip install scikit-image pooch nbconvert matplotlib faker zarr
99+
mkdir -p /tmp/datajoint-tutorials
97100
echo "Executing notebooks against PostgreSQL..."
98101
export DJ_HOST=postgres
99102
python scripts/execute_notebooks.py --backend postgresql
100103
elif echo "$${MODE}" | grep -i execute &>/dev/null; then
101104
# EXECUTE mode: execute notebooks against MySQL (default)
102105
pip install -e /datajoint-python
103106
pip install scikit-image pooch nbconvert matplotlib faker zarr
107+
mkdir -p /tmp/datajoint-tutorials
104108
echo "Executing notebooks against MySQL..."
105109
python scripts/execute_notebooks.py --backend mysql
106110
else

0 commit comments

Comments
 (0)