From 2a9ca90316ea6e2140338d395ff4e92325f1c420 Mon Sep 17 00:00:00 2001 From: Bryon Lewis Date: Thu, 4 Jan 2024 11:17:25 -0500 Subject: [PATCH] minio local container location --- .github/workflows/ci.yaml | 2 +- dev/.env.docker-compose | 2 +- tox.ini | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4fbabbf..1d5060b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ env: DJANGO_MINIO_STORAGE_ACCESS_KEY: minioAccessKey DJANGO_MINIO_STORAGE_SECRET_KEY: minioSecretKey DJANGO_STORAGE_BUCKET_NAME: django-storage - DJANGO_MINIO_STORAGE_MEDIA_URL: http://localhost:9000/django-storage + DJANGO_MINIO_STORAGE_MEDIA_URL: http://minio:9000/django-storage jobs: lint-python: name: Lint Python diff --git a/dev/.env.docker-compose b/dev/.env.docker-compose index a17261f..9daa15e 100644 --- a/dev/.env.docker-compose +++ b/dev/.env.docker-compose @@ -5,5 +5,5 @@ DJANGO_MINIO_STORAGE_ENDPOINT=minio:9000 DJANGO_MINIO_STORAGE_ACCESS_KEY=minioAccessKey DJANGO_MINIO_STORAGE_SECRET_KEY=minioSecretKey DJANGO_STORAGE_BUCKET_NAME=django-storage -DJANGO_MINIO_STORAGE_MEDIA_URL=http://localhost:9000/django-storage +DJANGO_MINIO_STORAGE_MEDIA_URL=http://minio:9000/django-storage DJANGO_CORS_ORIGIN_WHITELIST=http://localhost:3000 \ No newline at end of file diff --git a/tox.ini b/tox.ini index 28eb917..bdee1b6 100644 --- a/tox.ini +++ b/tox.ini @@ -58,7 +58,8 @@ commands = [testenv:check-migrations] setenv = - DJANGO_CONFIGURATION = TestingConfiguration + DJANGO_SETTINGS_MODULE = bats_ai.settings + DJANGO_CONFIGURATION = BaseConfiguration passenv = DJANGO_CELERY_BROKER_URL DJANGO_DATABASE_URL