Skip to content

Commit

Permalink
prod
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis committed Feb 19, 2024
1 parent 52f100e commit b9fe319
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bats_ai/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class DevelopmentConfiguration(BatsAiMixin, DevelopmentBaseConfiguration):
class TestingConfiguration(BatsAiMixin, TestingBaseConfiguration):
pass

class KitwareConfiguration(BatsAiMixin, DevelopmentBaseConfiguration):
class KitwareConfiguration(BatsAiMixin, ProductionBaseConfiguration):
SECRET_KEY = 'secretkey' # Dummy value for local development configuration

DEFAULT_FILE_STORAGE = 'minio_storage.storage.MinioMediaStorage'
Expand All @@ -98,6 +98,7 @@ class KitwareConfiguration(BatsAiMixin, DevelopmentBaseConfiguration):
MINIO_STORAGE_AUTO_CREATE_MEDIA_POLICY = 'READ_WRITE'
MINIO_STORAGE_MEDIA_USE_PRESIGNED = True
MINIO_STORAGE_MEDIA_URL = 'http://127.0.0.1:9000/django-storage'
ALLOWED_HOSTS = ['batai.kitware.com']


class ProductionConfiguration(BatsAiMixin, ProductionBaseConfiguration):
Expand Down

0 comments on commit b9fe319

Please sign in to comment.