diff --git a/lib/dl_file_uploader_api_lib/dl_file_uploader_api_lib_tests/conftest.py b/lib/dl_file_uploader_api_lib/dl_file_uploader_api_lib_tests/conftest.py index bd4cf2b2d..546f74c9d 100644 --- a/lib/dl_file_uploader_api_lib/dl_file_uploader_api_lib_tests/conftest.py +++ b/lib/dl_file_uploader_api_lib/dl_file_uploader_api_lib_tests/conftest.py @@ -316,7 +316,7 @@ def connectors_settings(s3_settings): ACCESS_KEY_ID=s3_settings.ACCESS_KEY_ID, SECRET_ACCESS_KEY=s3_settings.SECRET_ACCESS_KEY, BUCKET="bi-file-uploader", - S3_ENDPOINT="http://s3-storage:9000", + S3_ENDPOINT="http://s3-storage:8000", ), ) diff --git a/lib/dl_file_uploader_api_lib/docker-compose.yml b/lib/dl_file_uploader_api_lib/docker-compose.yml index ab9402f0e..fcbf6bd12 100644 --- a/lib/dl_file_uploader_api_lib/docker-compose.yml +++ b/lib/dl_file_uploader_api_lib/docker-compose.yml @@ -16,9 +16,9 @@ services: MINIO_ROOT_USER: accessKey1 MINIO_ROOT_PASSWORD: verySecretKey1 MINIO_DOMAIN: local - command: server /export + command: server --address ":8000" /export ports: - - "51420:9000" + - 51420:8000 init-db: depends_on: diff --git a/lib/dl_file_uploader_api_lib/docker-compose/init-db/s3/docker-entrypoint-initdb.d/initialize.sh b/lib/dl_file_uploader_api_lib/docker-compose/init-db/s3/docker-entrypoint-initdb.d/initialize.sh index e9c9fc695..f2f19ee70 100644 --- a/lib/dl_file_uploader_api_lib/docker-compose/init-db/s3/docker-entrypoint-initdb.d/initialize.sh +++ b/lib/dl_file_uploader_api_lib/docker-compose/init-db/s3/docker-entrypoint-initdb.d/initialize.sh @@ -1,7 +1,7 @@ #! /bin/bash echo 'Waiting for S3 to initialize...' -until curl -s s3-storage:9000 > /dev/null +until curl -s s3-storage:8000 > /dev/null do sleep 5 echo 'Waiting for S3 to initialize...'