diff --git a/dandi/tests/data/dandiarchive-docker/docker-compose.yml b/dandi/tests/data/dandiarchive-docker/docker-compose.yml index e4ba36c56..3f132d3e0 100644 --- a/dandi/tests/data/dandiarchive-docker/docker-compose.yml +++ b/dandi/tests/data/dandiarchive-docker/docker-compose.yml @@ -29,7 +29,11 @@ services: DJANGO_MINIO_STORAGE_ENDPOINT: minio:9000 DJANGO_MINIO_STORAGE_SECRET_KEY: minioSecretKey DJANGO_STORAGE_BUCKET_NAME: django-storage - DJANGO_MINIO_STORAGE_MEDIA_URL: http://localhost:9000/django-storage + # The Minio URL needs to use 127.0.0.1 instead of localhost so that blob + # assets' "S3 URLs" will use 127.0.0.1, and thus tests that try to open + # these URLs via fsspec will not fail on systems where localhost is both + # 127.0.0.1 and ::1. + DJANGO_MINIO_STORAGE_MEDIA_URL: http://127.0.0.1:9000/django-storage DJANGO_DANDI_SCHEMA_VERSION: ~ DJANGO_DANDI_WEB_APP_URL: http://localhost:8085 DJANGO_DANDI_API_URL: http://localhost:8000