Skip to content

Commit

Permalink
Merge pull request #1487 from dandi/fix-docker-host
Browse files Browse the repository at this point in the history
Fix host used in minio URLs
  • Loading branch information
yarikoptic authored Aug 15, 2024
2 parents 37b6350 + 85f6dd8 commit 649d89d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dandi/tests/data/dandiarchive-docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 649d89d

Please sign in to comment.