Skip to content

Commit

Permalink
minio local container location
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis committed Jan 4, 2024
1 parent b41b4af commit 2a9ca90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dev/.env.docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a9ca90

Please sign in to comment.